Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.509/2.509, allocations: 287.5 MB / 303.2 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001345/0.001345, allocations: 186.2 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.051/2.051, allocations: 205.4 MB / 0.6305 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008698/0.0008699, allocations: 97.61 kB / 0.7438 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004499/0.0004502, allocations: 10.11 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2136, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9607/1.174, allocations: 166 MB / 1.141 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005517/1.175, allocations: 96.92 kB / 1.141 GB, free: 13.4 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0/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 8.0.0/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 8.0.0/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.07058/1.246, allocations: 17.89 MB / 1.159 GB, free: 18.78 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.367e-06/1.246, allocations: 0 / 1.159 GB, free: 18.78 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.688e-05/1.246, allocations: 7.984 kB / 1.159 GB, free: 18.77 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.002893/1.249, allocations: 0.6257 MB / 1.16 GB, free: 18.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.086e-05/1.249, allocations: 12.03 kB / 1.16 GB, free: 18.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002143/1.251, allocations: 112.4 kB / 1.16 GB, free: 18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/1.252, allocations: 344.7 kB / 1.16 GB, free: 17.65 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/1.252, allocations: 54.83 kB / 1.16 GB, free: 17.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/1.253, allocations: 30.38 kB / 1.16 GB, free: 17.58 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/1.255, allocations: 0.4948 MB / 1.161 GB, free: 17.19 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/1.255, allocations: 7.875 kB / 1.161 GB, free: 17.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-05/1.255, allocations: 13.38 kB / 1.161 GB, free: 17.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.138e-05/1.255, allocations: 28.61 kB / 1.161 GB, free: 17.15 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/1.257, allocations: 388.2 kB / 1.161 GB, free: 16.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005991/1.263, allocations: 2.225 MB / 1.163 GB, free: 14.68 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/1.265, allocations: 261.4 kB / 1.163 GB, free: 14.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008684/1.266, allocations: 157.3 kB / 1.164 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.375e-05/1.266, allocations: 4 kB / 1.164 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/1.266, allocations: 42.12 kB / 1.164 GB, free: 14.31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=19): time 4.678e-06/1.266, allocations: 0 / 1.164 GB, free: 14.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.00364/1.269, allocations: 0.5849 MB / 1.164 GB, free: 13.76 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/1.269, allocations: 55.41 kB / 1.164 GB, free: 13.69 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004933/1.27, allocations: 232.4 kB / 1.164 GB, free: 13.49 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.482e-05/1.27, allocations: 29.14 kB / 1.164 GB, free: 13.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/1.27, allocations: 207.6 kB / 1.165 GB, free: 13.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/1.27, allocations: 69.81 kB / 1.165 GB, free: 13.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/1.271, allocations: 3.5 kB / 1.165 GB, free: 13.22 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002061/1.271, allocations: 333.1 kB / 1.165 GB, free: 12.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006092/1.271, allocations: 96 kB / 1.165 GB, free: 12.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006769/1.272, allocations: 193.6 kB / 1.165 GB, free: 12.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/1.273, allocations: 285.2 kB / 1.166 GB, free: 12.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/1.273, allocations: 0 / 1.166 GB, free: 12.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002373/1.276, allocations: 383.4 kB / 1.166 GB, free: 12.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001776/1.276, allocations: 156.4 kB / 1.166 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/1.276, allocations: 4 kB / 1.166 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/1.277, allocations: 122.8 kB / 1.166 GB, free: 11.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006552/1.278, allocations: 51.91 kB / 1.166 GB, free: 11.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006833/1.285, allocations: 2.826 MB / 1.169 GB, free: 8.777 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006601/1.286, allocations: 35.11 kB / 1.169 GB, free: 8.746 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.876e-05/1.286, allocations: 11.12 kB / 1.169 GB, free: 8.738 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/1.286, allocations: 6.188 kB / 1.169 GB, free: 8.734 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001912/1.288, allocations: 329.1 kB / 1.169 GB, free: 8.484 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/1.288, allocations: 4.312 kB / 1.169 GB, free: 8.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007502/1.288, allocations: 79.34 kB / 1.17 GB, free: 8.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006855/1.289, allocations: 63.16 kB / 1.17 GB, free: 8.352 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004437/1.294, allocations: 1.494 MB / 1.171 GB, free: 6.816 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006519/1.294, allocations: 39.55 kB / 1.171 GB, free: 6.781 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-05/1.294, allocations: 11.31 kB / 1.171 GB, free: 6.773 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.0005415/1.295, allocations: 250 kB / 1.171 GB, free: 6.543 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/1.295, allocations: 19.81 kB / 1.171 GB, free: 6.523 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/1.295, allocations: 23.94 kB / 1.171 GB, free: 6.516 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/1.295, allocations: 4.141 kB / 1.171 GB, free: 6.512 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/1.295, allocations: 7.922 kB / 1.171 GB, free: 6.504 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/1.295, allocations: 3.984 kB / 1.171 GB, free: 6.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003459/1.299, allocations: 0.8342 MB / 1.172 GB, free: 5.727 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/1.299, allocations: 4 kB / 1.172 GB, free: 5.723 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/1.299, allocations: 31.97 kB / 1.172 GB, free: 5.691 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/1.3, allocations: 108.4 kB / 1.172 GB, free: 5.594 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.627e-05/1.301, allocations: 0 / 1.172 GB, free: 5.594 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006565/1.307, allocations: 2.81 MB / 1.175 GB, free: 2.664 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/1.307, allocations: 0 / 1.175 GB, free: 2.664 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/1.309, allocations: 429.9 kB / 1.175 GB, free: 2.281 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/1.31, allocations: 115.6 kB / 1.176 GB, free: 2.156 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.298e-05/1.31, allocations: 4 kB / 1.176 GB, free: 2.152 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004571/1.31, allocations: 15.62 kB / 1.176 GB, free: 2.141 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/1.31, allocations: 27.28 kB / 1.176 GB, free: 2.117 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/1.31, allocations: 4 kB / 1.176 GB, free: 2.113 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000353/1.311, allocations: 162 kB / 1.176 GB, free: 1.977 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.92e-07/1.311, allocations: 4 kB / 1.176 GB, free: 1.973 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001413/1.312, allocations: 176.4 kB / 1.176 GB, free: 1.812 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.0002528/1.313, allocations: 106.9 kB / 1.176 GB, free: 1.703 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00476/1.317, allocations: 0.7719 MB / 1.177 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.317, allocations: 0 / 1.177 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001991/1.319, allocations: 371.2 kB / 1.177 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/1.321, allocations: 54.61 kB / 1.177 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/1.323, allocations: 0.7082 MB / 1.178 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007086/1.324, allocations: 0.816 MB / 1.179 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0005918/1.324, allocations: 50.25 kB / 1.179 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/1.325, allocations: 19.44 kB / 1.179 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of SimCode: time 1.433e-06/1.325, allocations: 4 kB / 1.179 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of Templates: time 0.01782/1.342, allocations: 4.12 MB / 1.183 GB, free: 10.91 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)