Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.594/1.594, allocations: 289.7 MB / 302.2 MB, free: 2.203 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.001363/0.001363, allocations: 181 kB / 371.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.1 MB / 0.6309 GB, free: 11.78 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008979/0.000898, allocations: 90.02 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.533e-05/3.56e-05, allocations: 4 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2572, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.788/6.045, allocations: 2.122 GB / 3.101 GB, free: 123.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/6.045, allocations: 100.5 kB / 3.102 GB, free: 123.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9794/7.025, allocations: 163.9 MB / 3.262 GB, free: 210.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.224e-06/7.025, allocations: 0 / 3.262 GB, free: 210.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004042/7.025, allocations: 91.19 kB / 3.262 GB, free: 210.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1041 * Number of variables: 1041 Notification: Performance of Generate backend data structure: time 0.0134/7.038, allocations: 3.427 MB / 3.265 GB, free: 209.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/7.039, allocations: 9.5 kB / 3.265 GB, free: 209.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01205/7.051, allocations: 1.734 MB / 3.267 GB, free: 209 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006962/7.058, allocations: 2.21 MB / 3.269 GB, free: 208.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003624/7.058, allocations: 295.4 kB / 3.269 GB, free: 208.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002167/7.06, allocations: 392.4 kB / 3.27 GB, free: 208.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01708/7.077, allocations: 5.528 MB / 3.275 GB, free: 207.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002164/7.078, allocations: 7.188 kB / 3.275 GB, free: 207.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001471/7.079, allocations: 174.1 kB / 3.275 GB, free: 207.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002717/7.079, allocations: 196.1 kB / 3.275 GB, free: 207.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01277/7.092, allocations: 5.272 MB / 3.28 GB, free: 207.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04257/7.135, allocations: 22.85 MB / 3.303 GB, free: 197.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00647/7.141, allocations: 3.474 MB / 3.306 GB, free: 197.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002747/7.144, allocations: 1.598 MB / 3.308 GB, free: 197.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008261/7.145, allocations: 0.5125 MB / 3.308 GB, free: 196.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003571/7.148, allocations: 1.777 MB / 3.31 GB, free: 196.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=240): time 1.144e-05/7.148, allocations: 3.406 kB / 3.31 GB, free: 196.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=243): time 0.01124/7.16, allocations: 5.066 MB / 3.315 GB, free: 194.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001553/7.16, allocations: 440.9 kB / 3.315 GB, free: 194.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003085/7.163, allocations: 1.505 MB / 3.317 GB, free: 193.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006691/7.164, allocations: 71.05 kB / 3.317 GB, free: 193.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001759/7.165, allocations: 1.597 MB / 3.318 GB, free: 192.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001056/7.167, allocations: 0.8104 MB / 3.319 GB, free: 191.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003684/7.167, allocations: 58.34 kB / 3.319 GB, free: 191.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002067/7.167, allocations: 418.3 kB / 3.32 GB, free: 191.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002462/7.17, allocations: 1.293 MB / 3.321 GB, free: 190.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002974/7.173, allocations: 2.014 MB / 3.323 GB, free: 189.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002813/7.175, allocations: 1.593 MB / 3.324 GB, free: 188.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/7.175, allocations: 6.688 kB / 3.324 GB, free: 188.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.006207/7.182, allocations: 3.613 MB / 3.328 GB, free: 187.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001225/7.183, allocations: 7.145 MB / 3.335 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.634e-05/7.183, allocations: 17.62 kB / 3.335 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.956e-05/7.183, allocations: 34.2 kB / 3.335 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004228/7.187, allocations: 0.7952 MB / 3.336 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.479e-05/7.187, allocations: 45.83 kB / 3.336 GB, free: 180.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003608/7.191, allocations: 378.4 kB / 3.336 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005411/7.192, allocations: 133.5 kB / 3.336 GB, free: 179.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/7.192, allocations: 5 kB / 3.336 GB, free: 179.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006059/7.198, allocations: 3.195 MB / 3.339 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.348e-05/7.198, allocations: 18.16 kB / 3.339 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.588e-05/7.198, allocations: 33.38 kB / 3.339 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00379/7.202, allocations: 0.7635 MB / 3.34 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.998e-05/7.202, allocations: 42.7 kB / 3.34 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00317/7.205, allocations: 330.5 kB / 3.341 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003298/7.205, allocations: 136.5 kB / 3.341 GB, free: 178.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 336 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009183/7.206, allocations: 269.2 kB / 3.341 GB, free: 178.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006367/7.207, allocations: 232.5 kB / 3.341 GB, free: 178.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007182/7.214, allocations: 3.643 MB / 3.345 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.743e-05/7.214, allocations: 30.25 kB / 3.345 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/7.214, allocations: 1.188 kB / 3.345 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.742e-05/7.214, allocations: 16.62 kB / 3.345 GB, free: 176.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/7.229, allocations: 8.138 MB / 3.353 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.308e-05/7.229, allocations: 2.656 kB / 3.353 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003713/7.233, allocations: 0.7083 MB / 3.353 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.183e-05/7.233, allocations: 11.16 kB / 3.353 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002266/7.233, allocations: 72.83 kB / 3.354 GB, free: 173.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-05/7.233, allocations: 17.94 kB / 3.354 GB, free: 173.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/7.233, allocations: 5.75 kB / 3.354 GB, free: 173.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005495/7.238, allocations: 3.597 MB / 3.357 GB, free: 171.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001774/7.24, allocations: 0.7661 MB / 3.358 GB, free: 170.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004498/7.241, allocations: 45.28 kB / 3.358 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002611/7.243, allocations: 270.7 kB / 3.358 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003265/7.244, allocations: 154.8 kB / 3.358 GB, free: 170.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002313/7.244, allocations: 89.72 kB / 3.358 GB, free: 170.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002067/7.246, allocations: 1.218 MB / 3.36 GB, free: 170.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.3e-07/7.246, allocations: 1.469 kB / 3.36 GB, free: 170.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004977/7.251, allocations: 1.327 MB / 3.361 GB, free: 170.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (262): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001477/7.252, allocations: 0.6229 MB / 3.361 GB, free: 169.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007766/7.26, allocations: 5 MB / 3.366 GB, free: 168.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/7.26, allocations: 0 / 3.366 GB, free: 168.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002142/7.262, allocations: 1.579 MB / 3.368 GB, free: 167.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002927/7.265, allocations: 0.5179 MB / 3.368 GB, free: 167.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009922/7.275, allocations: 5.637 MB / 3.374 GB, free: 165.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001844/7.277, allocations: 2.531 MB / 3.376 GB, free: 164.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005749/7.283, allocations: 1.403 MB / 3.378 GB, free: 163.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009776/7.284, allocations: 237.9 kB / 3.378 GB, free: 163.8 MB / 0.948 GB Notification: Performance of SimCode: time 6.91e-07/7.284, allocations: 0 / 3.378 GB, free: 163.8 MB / 0.948 GB Notification: Performance of Templates: time 0.0681/7.352, allocations: 40.84 MB / 3.418 GB, free: 161.5 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)