Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.361/2.361, allocations: 393.5 MB / 408.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 186.2 kB / 0.4902 GB, free: 2.246 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 223.1 MB / 0.7992 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 96.02 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.0004366, allocations: 7.438 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3573, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2522/0.6096, allocations: 178.5 MB / 1.404 GB, free: 6.996 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/0.61, allocations: 91.95 kB / 1.404 GB, free: 6.906 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/Interfaces/Source.mo:28:9-28: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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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.6973/1.307, allocations: 25.89 MB / 1.429 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.933e-06/1.307, allocations: 0 / 1.429 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.752e-05/1.307, allocations: 11.86 kB / 1.429 GB, free: 182.5 MB / 0.9167 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.001325/1.309, allocations: 0.6355 MB / 1.43 GB, free: 182 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/1.309, allocations: 11.16 kB / 1.43 GB, free: 182 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009573/1.31, allocations: 120.2 kB / 1.43 GB, free: 182 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007065/1.31, allocations: 323.6 kB / 1.43 GB, free: 181.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/1.311, allocations: 57.02 kB / 1.43 GB, free: 181.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.68e-05/1.311, allocations: 34.58 kB / 1.43 GB, free: 181.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009738/1.312, allocations: 0.4958 MB / 1.431 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/1.312, allocations: 1.5 kB / 1.431 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/1.312, allocations: 13.88 kB / 1.431 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.848e-05/1.312, allocations: 30 kB / 1.431 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008053/1.313, allocations: 386.8 kB / 1.431 GB, free: 181.7 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002495/1.315, allocations: 2.215 MB / 1.433 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007789/1.316, allocations: 279.5 kB / 1.433 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/1.316, allocations: 3.969 kB / 1.433 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/1.316, allocations: 40.5 kB / 1.433 GB, free: 180 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=19): time 1.853e-06/1.316, allocations: 0 / 1.433 GB, free: 180 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.001568/1.318, allocations: 0.5854 MB / 1.434 GB, free: 179.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/1.318, allocations: 60.08 kB / 1.434 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/1.318, allocations: 202.6 kB / 1.434 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/1.318, allocations: 30.8 kB / 1.434 GB, free: 179.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/1.318, allocations: 213.5 kB / 1.434 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.912e-05/1.318, allocations: 66.25 kB / 1.435 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/1.318, allocations: 4.5 kB / 1.435 GB, free: 179.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.488e-05/1.318, allocations: 332.3 kB / 1.435 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/1.319, allocations: 100.5 kB / 1.435 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/1.319, allocations: 180.8 kB / 1.435 GB, free: 179 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/1.319, allocations: 126.1 kB / 1.435 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.319, allocations: 0 / 1.435 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000956/1.32, allocations: 396.8 kB / 1.436 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002502/1.32, allocations: 0.8716 MB / 1.436 GB, free: 178 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/1.32, allocations: 9.109 kB / 1.436 GB, free: 178 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005603/1.321, allocations: 107.2 kB / 1.437 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/1.321, allocations: 50.27 kB / 1.437 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002368/1.324, allocations: 2.07 MB / 1.439 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/1.324, allocations: 36.67 kB / 1.439 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/1.324, allocations: 11.58 kB / 1.439 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/1.324, allocations: 5.344 kB / 1.439 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008647/1.325, allocations: 326.7 kB / 1.439 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/1.325, allocations: 2.719 kB / 1.439 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003138/1.325, allocations: 77.08 kB / 1.439 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/1.325, allocations: 62.72 kB / 1.439 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/1.327, allocations: 1.52 MB / 1.441 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/1.328, allocations: 29.92 kB / 1.441 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/1.328, allocations: 9 kB / 1.441 GB, free: 174.8 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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.0002557/1.328, allocations: 256.4 kB / 1.441 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.015e-05/1.328, allocations: 22.84 kB / 1.441 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.626e-05/1.328, allocations: 27.23 kB / 1.441 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/1.328, allocations: 2.594 kB / 1.441 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.328, allocations: 0.75 kB / 1.441 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.328, allocations: 0.75 kB / 1.441 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005679/1.329, allocations: 382.6 kB / 1.441 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.329, allocations: 2.203 kB / 1.441 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/1.329, allocations: 32.84 kB / 1.441 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003948/1.329, allocations: 106.4 kB / 1.441 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/1.329, allocations: 3.656 kB / 1.441 GB, free: 174.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00245/1.332, allocations: 2.833 MB / 1.444 GB, free: 171.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.332, allocations: 1.344 kB / 1.444 GB, free: 171.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/1.333, allocations: 418.6 kB / 1.445 GB, free: 171.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/1.333, allocations: 114.5 kB / 1.445 GB, free: 171.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/1.333, allocations: 10.61 kB / 1.445 GB, free: 171.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/1.333, allocations: 15.2 kB / 1.445 GB, free: 171.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.432e-05/1.333, allocations: 20.83 kB / 1.445 GB, free: 171.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/1.333, allocations: 4.703 kB / 1.445 GB, free: 171.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001869/1.333, allocations: 161.8 kB / 1.445 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.2e-07/1.333, allocations: 0 / 1.445 GB, free: 171.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0007709/1.334, allocations: 171.9 kB / 1.445 GB, free: 171.5 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 14 * 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.0001461/1.334, allocations: 108.9 kB / 1.445 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001979/1.336, allocations: 0.6613 MB / 1.446 GB, free: 171.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.336, allocations: 0 / 1.446 GB, free: 171.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000723/1.337, allocations: 370.1 kB / 1.446 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/1.337, allocations: 53.58 kB / 1.446 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/1.339, allocations: 0.6882 MB / 1.447 GB, free: 170.5 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/1.339, allocations: 0.8213 MB / 1.448 GB, free: 169.8 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002465/1.339, allocations: 60.08 kB / 1.448 GB, free: 169.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/1.339, allocations: 17.84 kB / 1.448 GB, free: 169.8 MB / 0.9167 GB Notification: Performance of SimCode: time 2.3e-07/1.339, allocations: 0 / 1.448 GB, free: 169.8 MB / 0.9167 GB Notification: Performance of Templates: time 0.01001/1.349, allocations: 3.992 MB / 1.452 GB, free: 169.6 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)