Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009019/0.0009019, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009709/0.000971, allocations: 177.3 kB / 15.95 MB, free: 216 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.478/1.478, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.728/1.728, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.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.0005207/0.0005207, allocations: 14.06 kB / 0.6736 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2987, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.006081/0.3049, allocations: 5.281 MB / 0.7923 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004621/0.3095, allocations: 3.019 MB / 0.7952 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004192/0.31, allocations: 27.81 kB / 0.7953 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.3103, allocations: 107.2 kB / 0.7954 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008659/0.3112, allocations: 342.9 kB / 0.7957 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009886/0.3122, allocations: 382.3 kB / 0.7961 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007314/0.313, allocations: 0.6531 MB / 0.7967 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001485/0.3145, allocations: 0.9015 MB / 0.7976 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004314/0.3149, allocations: 326.8 kB / 0.7979 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004771/0.3154, allocations: 354.6 kB / 0.7982 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.728e-05/0.3155, allocations: 35.94 kB / 0.7983 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004582/0.3159, allocations: 203.6 kB / 0.7984 GB, free: 328 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.3161, allocations: 223.4 kB / 0.7987 GB, free: 104 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.3163, allocations: 165.3 kB / 0.7988 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.000756/0.317, allocations: 0.8417 MB / 0.7996 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3171, allocations: 0 / 0.7996 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.824e-06/0.3171, allocations: 0 / 0.7996 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.3171, allocations: 0 / 0.7996 GB, free: 15.09 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001373/0.3185, allocations: 0.9153 MB / 0.8005 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3185, allocations: 12.03 kB / 0.8005 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.3197, allocations: 210.7 kB / 0.8007 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007998/0.3205, allocations: 0.5249 MB / 0.8013 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.952e-05/0.3206, allocations: 49.3 kB / 0.8013 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.3207, allocations: 63.98 kB / 0.8014 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.322, allocations: 1.014 MB / 0.8024 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/0.322, allocations: 15.84 kB / 0.8024 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-05/0.3221, allocations: 27.98 kB / 0.8024 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.954e-05/0.3222, allocations: 73.27 kB / 0.8025 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009435/0.3232, allocations: 0.6918 MB / 0.8031 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004969/0.3281, allocations: 5.757 MB / 0.8088 GB, free: 5.117 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008357/0.329, allocations: 0.6046 MB / 0.8094 GB, free: 4.469 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.329, allocations: 7.938 kB / 0.8094 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.3291, allocations: 34.56 kB / 0.8094 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 2.575e-06/0.3291, allocations: 0 / 0.8094 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.003859/0.333, allocations: 1.898 MB / 0.8113 GB, free: 2.426 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.333, allocations: 55.41 kB / 0.8113 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000444/0.3335, allocations: 458.8 kB / 0.8117 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.3335, allocations: 29.7 kB / 0.8118 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.3338, allocations: 391 kB / 0.8121 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.3339, allocations: 153.8 kB / 0.8123 GB, free: 1.328 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.3339, allocations: 12 kB / 0.8123 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3341, allocations: 366.7 kB / 0.8127 GB, free: 0.9492 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/0.3344, allocations: 233.2 kB / 0.8129 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004265/0.3348, allocations: 445 kB / 0.8133 GB, free: 196 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003789/0.3352, allocations: 291.8 kB / 0.8136 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3352, allocations: 4 kB / 0.8136 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001542/0.3368, allocations: 0.984 MB / 0.8145 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.3368, allocations: 12.16 kB / 0.8146 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.3368, allocations: 8 kB / 0.8146 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008335/0.3376, allocations: 271 kB / 0.8148 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.338, allocations: 103.8 kB / 0.8149 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005974/0.344, allocations: 6.752 MB / 0.8215 GB, free: 7.207 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004055/0.3444, allocations: 27.98 kB / 0.8215 GB, free: 7.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.3444, allocations: 28 kB / 0.8216 GB, free: 7.152 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (55): * Single equations (assignments): 51 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003503/0.3448, allocations: 246.3 kB / 0.8218 GB, free: 6.902 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.558e-05/0.3449, allocations: 67.2 kB / 0.8219 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.3463, allocations: 0.8221 MB / 0.8227 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3464, allocations: 4 kB / 0.8227 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.3464, allocations: 4 kB / 0.8227 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3464, allocations: 3.984 kB / 0.8227 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/0.3488, allocations: 1.711 MB / 0.8243 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3488, allocations: 7.891 kB / 0.8244 GB, free: 4.148 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.349, allocations: 51.89 kB / 0.8244 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007297/0.3498, allocations: 243.4 kB / 0.8246 GB, free: 3.848 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.3498, allocations: 11.98 kB / 0.8246 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005544/0.3554, allocations: 6.464 MB / 0.831 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3554, allocations: 0 / 0.831 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.3569, allocations: 0.9742 MB / 0.8319 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/0.3571, allocations: 176.4 kB / 0.8321 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.82e-05/0.3572, allocations: 8 kB / 0.8321 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.3574, allocations: 15.98 kB / 0.8321 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.23e-05/0.3575, allocations: 51.83 kB / 0.8322 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.3576, allocations: 12 kB / 0.8322 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003097/0.3579, allocations: 302.9 kB / 0.8325 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3579, allocations: 0 / 0.8325 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007635/0.3587, allocations: 192 kB / 0.8326 GB, free: 11.02 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (27): * Single equations (assignments): 23 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001542/0.3588, allocations: 112 kB / 0.8327 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001556/0.3604, allocations: 1.14 MB / 0.8339 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3604, allocations: 0 / 0.8339 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009614/0.3614, allocations: 0.7955 MB / 0.8346 GB, free: 8.863 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008283/0.3622, allocations: 181.9 kB / 0.8348 GB, free: 8.691 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.3641, allocations: 1.467 MB / 0.8362 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/0.3647, allocations: 1.004 MB / 0.8372 GB, free: 6.145 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002789/0.3649, allocations: 109.2 kB / 0.8373 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.299e-05/0.365, allocations: 39.42 kB / 0.8374 GB, free: 6 MB / 0.6544 GB Notification: Performance of SimCode: time 3.1e-07/0.365, allocations: 0 / 0.8374 GB, free: 6 MB / 0.6544 GB Notification: Performance of Templates: time 0.01371/0.3788, allocations: 8.628 MB / 0.8458 GB, free: 13.45 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) Environment - environmentSimulation: