Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001213/0.001214, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.001165/0.001166, allocations: 189.5 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.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.892/1.892, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.001769/0.001769, allocations: 67.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2261, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.4188/0.645, allocations: 32.49 MB / 0.8165 GB, free: 30.51 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02043/0.6654, allocations: 10.37 MB / 0.8267 GB, free: 23.45 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004887/0.6704, allocations: 151.3 kB / 0.8268 GB, free: 23.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.009951/0.6804, allocations: 3.706 MB / 0.8304 GB, free: 21.19 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007039/0.6875, allocations: 1.859 MB / 0.8322 GB, free: 20.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007421/0.6949, allocations: 2.128 MB / 0.8343 GB, free: 18.86 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01186/0.7068, allocations: 7.335 MB / 0.8415 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01749/0.7243, allocations: 9.476 MB / 0.8507 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008007/0.7324, allocations: 3.177 MB / 0.8538 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008168/0.7406, allocations: 3.476 MB / 0.8572 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.00337/0.744, allocations: 0.6497 MB / 0.8579 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006994/0.751, allocations: 1.773 MB / 0.8596 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.006581/0.7576, allocations: 2.551 MB / 0.8621 GB, free: 7.207 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.009745/0.7674, allocations: 2.897 MB / 0.8649 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01758/0.785, allocations: 10.1 MB / 0.8748 GB, free: 13.85 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.7851, allocations: 0 / 0.8748 GB, free: 13.85 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.584e-06/0.7851, allocations: 0.6562 kB / 0.8748 GB, free: 13.85 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0004312/0.7855, allocations: 1.375 kB / 0.8748 GB, free: 13.85 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.02121/0.8067, allocations: 5.006 MB / 0.8797 GB, free: 9.289 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/0.8068, allocations: 8.031 kB / 0.8797 GB, free: 9.281 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007615/0.8144, allocations: 0.9512 MB / 0.8806 GB, free: 8.324 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008149/0.8226, allocations: 3.046 MB / 0.8836 GB, free: 5.215 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004582/0.8231, allocations: 349.6 kB / 0.8839 GB, free: 4.871 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002682/0.8258, allocations: 464.8 kB / 0.8844 GB, free: 4.418 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01961/0.8454, allocations: 7.663 MB / 0.8918 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002871/0.8457, allocations: 23.78 kB / 0.8919 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001777/0.8475, allocations: 204 kB / 0.8921 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004131/0.848, allocations: 312.9 kB / 0.8924 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01469/0.8627, allocations: 5.71 MB / 0.8979 GB, free: 6.148 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04733/0.91, allocations: 34.82 MB / 0.9319 GB, free: 120 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003178/0.9133, allocations: 2.157 MB / 0.934 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001972/0.9153, allocations: 1.272 MB / 0.9353 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.9154, allocations: 21.28 kB / 0.9353 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.9155, allocations: 43.88 kB / 0.9353 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 4.789e-06/0.9155, allocations: 0 / 0.9353 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.0156/0.9311, allocations: 7.088 MB / 0.9423 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.9312, allocations: 68.72 kB / 0.9423 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00276/0.9339, allocations: 1.484 MB / 0.9438 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002015/0.9342, allocations: 45.7 kB / 0.9438 GB, free: 3.473 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001508/0.9357, allocations: 2.004 MB / 0.9458 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000614/0.9363, allocations: 493 kB / 0.9463 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006538/0.937, allocations: 347.1 kB / 0.9466 GB, free: 0.6094 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.9371, allocations: 301.1 kB / 0.9469 GB, free: 320 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.9385, allocations: 0.9174 MB / 0.9478 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/0.9406, allocations: 1.593 MB / 0.9493 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003739/0.9443, allocations: 2.737 MB / 0.952 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.768e-05/0.9444, allocations: 8 kB / 0.952 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006473/0.9509, allocations: 3.53 MB / 0.9555 GB, free: 6.855 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.206e-05/0.9509, allocations: 16.19 kB / 0.9555 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.381e-05/0.951, allocations: 24 kB / 0.9555 GB, free: 6.816 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002635/0.9536, allocations: 0.8997 MB / 0.9564 GB, free: 5.883 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.9548, allocations: 347.4 kB / 0.9567 GB, free: 5.543 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02219/0.977, allocations: 23.1 MB / 0.9793 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/0.9789, allocations: 99.95 kB / 0.9794 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003698/0.9793, allocations: 88 kB / 0.9794 GB, free: 12.58 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003467/0.9828, allocations: 1.609 MB / 0.981 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005895/0.9834, allocations: 209.5 kB / 0.9812 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005837/0.9893, allocations: 2.998 MB / 0.9841 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.9893, allocations: 3.984 kB / 0.9841 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.9893, allocations: 0 / 0.9841 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.9904, allocations: 454.5 kB / 0.9846 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004894/0.9909, allocations: 27.94 kB / 0.9846 GB, free: 7.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/0.992, allocations: 67.92 kB / 0.9847 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003037/0.9924, allocations: 129.1 kB / 0.9848 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006493/0.9989, allocations: 3.099 MB / 0.9878 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004767/1.004, allocations: 3.278 MB / 0.991 GB, free: 0.5664 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001243/1.005, allocations: 0.9588 MB / 0.992 GB, free: 15.61 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001613/1.007, allocations: 0.9756 MB / 0.9929 GB, free: 14.61 MB / 0.795 GB Notification: Performance of Backend: time 1.122e-06/1.007, allocations: 0 / 0.9929 GB, free: 14.61 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00814/1.015, allocations: 3.895 MB / 0.9967 GB, free: 10.55 MB / 0.795 GB Notification: Performance of SimCode: time 0.01779/1.033, allocations: 8.084 MB / 1.005 GB, free: 2.477 MB / 0.795 GB Notification: Performance of Templates: time 0.075/1.108, allocations: 42.36 MB / 1.046 GB, free: 8.582 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)