Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 86.8 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.587/1.587, allocations: 252 MB / 0.5102 GB, free: 4.789 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006172/0.0006174, allocations: 20 kB / 0.6243 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5905/0.5912, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01303/0.6043, allocations: 10.78 MB / 0.7387 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00988/0.6142, allocations: 5.22 MB / 0.7438 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.6154, allocations: 31.88 kB / 0.7438 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009354/0.6164, allocations: 302 kB / 0.7441 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.6178, allocations: 0.5228 MB / 0.7446 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.6194, allocations: 498.8 kB / 0.7451 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002881/0.6222, allocations: 2.918 MB / 0.7479 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00525/0.6275, allocations: 3.865 MB / 0.7517 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.6289, allocations: 0.7707 MB / 0.7525 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.6303, allocations: 1.094 MB / 0.7535 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.6305, allocations: 100 kB / 0.7536 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009063/0.6314, allocations: 319.6 kB / 0.7539 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006832/0.6321, allocations: 0.7404 MB / 0.7546 GB, free: 144 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003818/0.6325, allocations: 360.9 kB / 0.755 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002855/0.6354, allocations: 3.257 MB / 0.7582 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.6354, allocations: 3.938 kB / 0.7582 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6354, allocations: 0 / 0.7582 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.677e-05/0.6355, allocations: 0 / 0.7582 GB, free: 12.51 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.003533/0.639, allocations: 1.773 MB / 0.7599 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.639, allocations: 8.031 kB / 0.7599 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003033/0.6421, allocations: 0.7471 MB / 0.7606 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002135/0.6442, allocations: 1.227 MB / 0.7618 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.301e-05/0.6443, allocations: 123.2 kB / 0.762 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002703/0.6446, allocations: 156 kB / 0.7621 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004648/0.6493, allocations: 2.944 MB / 0.765 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/0.6493, allocations: 11.84 kB / 0.765 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/0.6495, allocations: 71.98 kB / 0.7651 GB, free: 5.293 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003961/0.6499, allocations: 199 kB / 0.7653 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003949/0.6539, allocations: 2.507 MB / 0.7677 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/0.667, allocations: 10.89 MB / 0.7783 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.6683, allocations: 0.9211 MB / 0.7792 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006974/0.669, allocations: 0.5051 MB / 0.7797 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.6691, allocations: 89.48 kB / 0.7798 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.6692, allocations: 42.92 kB / 0.7799 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=46): time 2.865e-06/0.6692, allocations: 0 / 0.7799 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.02556/0.6947, allocations: 8.975 MB / 0.7886 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/0.6949, allocations: 89.67 kB / 0.7887 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/0.6962, allocations: 0.9376 MB / 0.7896 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.6964, allocations: 41.7 kB / 0.7897 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005656/0.6969, allocations: 0.7697 MB / 0.7904 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.6972, allocations: 248.5 kB / 0.7906 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.197e-05/0.6973, allocations: 20 kB / 0.7907 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.6975, allocations: 398.8 kB / 0.791 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.6987, allocations: 0.7989 MB / 0.7918 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.7003, allocations: 1.167 MB / 0.793 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.7017, allocations: 0.9908 MB / 0.7939 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.7017, allocations: 0 / 0.7939 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.009327/0.711, allocations: 3.791 MB / 0.7976 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003345/0.7114, allocations: 409.2 kB / 0.798 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.7114, allocations: 11.94 kB / 0.798 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007871/0.7193, allocations: 2.167 MB / 0.8002 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009653/0.7203, allocations: 219.6 kB / 0.8004 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01611/0.7364, allocations: 10.25 MB / 0.8104 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.7381, allocations: 207.6 kB / 0.8106 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002058/0.7383, allocations: 44 kB / 0.8106 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.7383, allocations: 7.938 kB / 0.8106 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007711/0.746, allocations: 3.068 MB / 0.8136 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.432e-05/0.7461, allocations: 16.03 kB / 0.8136 GB, free: 1.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005275/0.7514, allocations: 1.365 MB / 0.815 GB, free: 484 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.7526, allocations: 283.6 kB / 0.8152 GB, free: 200 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/0.7641, allocations: 6.153 MB / 0.8212 GB, free: 9.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.7657, allocations: 179.7 kB / 0.8214 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/0.7659, allocations: 44 kB / 0.8215 GB, free: 9.691 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * 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: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001829/0.7678, allocations: 0.8936 MB / 0.8223 GB, free: 8.789 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/0.7681, allocations: 90.95 kB / 0.8224 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008927/0.777, allocations: 3.316 MB / 0.8257 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.777, allocations: 15.89 kB / 0.8257 GB, free: 5.348 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-05/0.7771, allocations: 8 kB / 0.8257 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/0.7771, allocations: 3.984 kB / 0.8257 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01287/0.79, allocations: 5.493 MB / 0.831 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.79, allocations: 0 / 0.831 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004534/0.7905, allocations: 107.8 kB / 0.8311 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007359/0.7978, allocations: 1.979 MB / 0.8331 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.798, allocations: 16 kB / 0.8331 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01648/0.8145, allocations: 9.639 MB / 0.8425 GB, free: 3.711 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-06/0.8145, allocations: 4 kB / 0.8425 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008602/0.8232, allocations: 3.202 MB / 0.8456 GB, free: 468 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007802/0.824, allocations: 339.9 kB / 0.846 GB, free: 108 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003278/0.8243, allocations: 16 kB / 0.846 GB, free: 92 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.8254, allocations: 147.8 kB / 0.8461 GB, free: 15.95 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003359/0.8257, allocations: 72.41 kB / 0.8462 GB, free: 15.88 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.689e-05/0.8258, allocations: 16 kB / 0.8462 GB, free: 15.86 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001231/0.827, allocations: 0.6824 MB / 0.8469 GB, free: 15.18 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.11e-07/0.827, allocations: 0 / 0.8469 GB, free: 15.18 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003224/0.8303, allocations: 0.6797 MB / 0.8475 GB, free: 14.5 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * 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: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003227/0.8306, allocations: 131.1 kB / 0.8477 GB, free: 14.37 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008448/0.8391, allocations: 3.913 MB / 0.8515 GB, free: 10.42 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/0.8391, allocations: 0 / 0.8515 GB, free: 10.42 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002321/0.8415, allocations: 1.31 MB / 0.8528 GB, free: 9.082 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.8431, allocations: 245.6 kB / 0.853 GB, free: 8.84 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007724/0.8508, allocations: 4.068 MB / 0.857 GB, free: 4.723 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002401/0.8533, allocations: 1.719 MB / 0.8586 GB, free: 2.973 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001728/0.855, allocations: 0.5187 MB / 0.8592 GB, free: 2.449 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002259/0.8553, allocations: 59.42 kB / 0.8592 GB, free: 2.391 MB / 0.67 GB Notification: Performance of SimCode: time 1.192e-06/0.8553, allocations: 0 / 0.8592 GB, free: 2.391 MB / 0.67 GB Notification: Performance of Templates: time 0.05402/0.9093, allocations: 29.41 MB / 0.8879 GB, free: 5.203 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1) Environment - environmentSimulation: