Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.319/2.319, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001364/0.001364, allocations: 179.1 kB / 326.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.456/2.456, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001367/0.001367, allocations: 103.2 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004815/0.0004816, allocations: 12 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2028, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2784/0.4812, allocations: 159.7 MB / 1.055 GB, free: 1.652 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004104/0.4817, allocations: 95.95 kB / 1.055 GB, free: 1.559 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.642/1.124, allocations: 17.88 MB / 1.073 GB, free: 154.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.405e-06/1.124, allocations: 0 / 1.073 GB, free: 154.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.94e-05/1.124, allocations: 16.03 kB / 1.073 GB, free: 154.7 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001616/1.125, allocations: 0.6442 MB / 1.074 GB, free: 154.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/1.126, allocations: 12.19 kB / 1.074 GB, free: 154.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/1.127, allocations: 114.8 kB / 1.074 GB, free: 154.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008018/1.128, allocations: 322.5 kB / 1.074 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.499e-05/1.128, allocations: 54.2 kB / 1.074 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.672e-05/1.128, allocations: 29.16 kB / 1.074 GB, free: 153.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/1.129, allocations: 0.5061 MB / 1.075 GB, free: 153.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/1.129, allocations: 3.938 kB / 1.075 GB, free: 153.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/1.129, allocations: 11.59 kB / 1.075 GB, free: 153.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.531e-05/1.129, allocations: 29.11 kB / 1.075 GB, free: 153.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/1.131, allocations: 390.4 kB / 1.075 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003444/1.134, allocations: 2.227 MB / 1.077 GB, free: 151.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00112/1.135, allocations: 261.1 kB / 1.077 GB, free: 151.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006051/1.136, allocations: 167.5 kB / 1.078 GB, free: 151.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.017e-05/1.136, allocations: 2.75 kB / 1.078 GB, free: 151.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/1.136, allocations: 31.66 kB / 1.078 GB, free: 151.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 4.368e-06/1.136, allocations: 0 / 1.078 GB, free: 151.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.002494/1.139, allocations: 0.591 MB / 1.078 GB, free: 151.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/1.139, allocations: 59.83 kB / 1.078 GB, free: 151.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/1.139, allocations: 221.4 kB / 1.078 GB, free: 151.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/1.139, allocations: 33.7 kB / 1.079 GB, free: 151.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/1.139, allocations: 212.2 kB / 1.079 GB, free: 150.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.495e-05/1.139, allocations: 68.7 kB / 1.079 GB, free: 150.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/1.139, allocations: 4.719 kB / 1.079 GB, free: 150.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.047e-05/1.139, allocations: 332.2 kB / 1.079 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/1.14, allocations: 94.75 kB / 1.079 GB, free: 150.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000452/1.14, allocations: 182 kB / 1.079 GB, free: 150.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/1.141, allocations: 118 kB / 1.079 GB, free: 150.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/1.141, allocations: 4 kB / 1.079 GB, free: 150.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001575/1.142, allocations: 383 kB / 1.08 GB, free: 150.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.896e-05/1.142, allocations: 161.5 kB / 1.08 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/1.142, allocations: 2.156 kB / 1.08 GB, free: 150.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008183/1.143, allocations: 117.4 kB / 1.08 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004364/1.144, allocations: 54.16 kB / 1.08 GB, free: 150 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004331/1.148, allocations: 2.829 MB / 1.083 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005267/1.149, allocations: 39.14 kB / 1.083 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/1.149, allocations: 7.5 kB / 1.083 GB, free: 147.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/1.149, allocations: 4.219 kB / 1.083 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001275/1.15, allocations: 316.1 kB / 1.083 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.15, allocations: 1.969 kB / 1.083 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005164/1.151, allocations: 82.98 kB / 1.083 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004484/1.151, allocations: 58.44 kB / 1.083 GB, free: 147.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002822/1.154, allocations: 1.502 MB / 1.085 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004771/1.154, allocations: 37.02 kB / 1.085 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/1.154, allocations: 11.97 kB / 1.085 GB, free: 145.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003703/1.155, allocations: 243.9 kB / 1.085 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.544e-05/1.155, allocations: 22.25 kB / 1.085 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.527e-05/1.155, allocations: 32.33 kB / 1.085 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/1.155, allocations: 1.25 kB / 1.085 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/1.155, allocations: 3.938 kB / 1.085 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/1.155, allocations: 1.188 kB / 1.085 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/1.157, allocations: 0.8428 MB / 1.086 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/1.157, allocations: 0 / 1.086 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/1.157, allocations: 29.95 kB / 1.086 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000655/1.158, allocations: 109.2 kB / 1.086 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/1.158, allocations: 1.156 kB / 1.086 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003738/1.162, allocations: 2.817 MB / 1.089 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.162, allocations: 5.297 kB / 1.089 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/1.163, allocations: 421 kB / 1.089 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/1.163, allocations: 118.1 kB / 1.089 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/1.163, allocations: 6.656 kB / 1.089 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/1.164, allocations: 19.14 kB / 1.089 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/1.164, allocations: 24.59 kB / 1.089 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/1.164, allocations: 13.16 kB / 1.09 GB, free: 141.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000208/1.164, allocations: 157.2 kB / 1.09 GB, free: 141.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.164, allocations: 1.031 kB / 1.09 GB, free: 141.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009656/1.165, allocations: 169.2 kB / 1.09 GB, free: 141.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001507/1.165, allocations: 107.8 kB / 1.09 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003401/1.169, allocations: 0.7596 MB / 1.091 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.169, allocations: 0.5 kB / 1.091 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001359/1.17, allocations: 379 kB / 1.091 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007125/1.171, allocations: 54.56 kB / 1.091 GB, free: 140.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/1.173, allocations: 0.6969 MB / 1.092 GB, free: 139.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/1.173, allocations: 0.8118 MB / 1.093 GB, free: 139.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003877/1.173, allocations: 55.28 kB / 1.093 GB, free: 139.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.557e-05/1.173, allocations: 18.12 kB / 1.093 GB, free: 139.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.042e-06/1.173, allocations: 4 kB / 1.093 GB, free: 139.1 MB / 0.698 GB Notification: Performance of Templates: time 0.01175/1.185, allocations: 4.139 MB / 1.097 GB, free: 137.1 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)