Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 111 kB / 16.41 MB, free: 6.441 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.001041/0.001041, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.00209, allocations: 296 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.061/1.061, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003037/0.003037, allocations: 99.84 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4717/0.4747, allocations: 86.98 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.02045/0.4952, allocations: 16.39 MB / 0.7831 GB, free: 3.477 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01077/0.506, allocations: 5.72 MB / 0.7887 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.5072, allocations: 43.94 kB / 0.7887 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004063/0.5112, allocations: 1.549 MB / 0.7902 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.5134, allocations: 0.8365 MB / 0.791 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.516, allocations: 1.056 MB / 0.7921 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004328/0.5204, allocations: 3.906 MB / 0.7959 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006959/0.5274, allocations: 5.626 MB / 0.8014 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002318/0.5297, allocations: 1.753 MB / 0.8031 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003058/0.5328, allocations: 2.096 MB / 0.8051 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009229/0.5337, allocations: 416 kB / 0.8055 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.5359, allocations: 1.073 MB / 0.8066 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002075/0.538, allocations: 1.653 MB / 0.8082 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002608/0.5406, allocations: 1.603 MB / 0.8098 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006069/0.5467, allocations: 6.064 MB / 0.8157 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.5467, allocations: 0 / 0.8157 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.624e-06/0.5468, allocations: 0 / 0.8157 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001474/0.5469, allocations: 0 / 0.8157 GB, free: 1.93 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: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.006744/0.5537, allocations: 2.771 MB / 0.8184 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.5537, allocations: 8.031 kB / 0.8184 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003642/0.5574, allocations: 0.6613 MB / 0.819 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003421/0.5608, allocations: 1.442 MB / 0.8205 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.561, allocations: 210 kB / 0.8207 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006497/0.5616, allocations: 272.3 kB / 0.8209 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008644/0.5703, allocations: 4.717 MB / 0.8255 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.179e-05/0.5704, allocations: 0 / 0.8255 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003776/0.5707, allocations: 116 kB / 0.8256 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001663/0.5709, allocations: 148.6 kB / 0.8258 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006625/0.5776, allocations: 4.089 MB / 0.8298 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02235/0.5999, allocations: 20.11 MB / 0.8494 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003086/0.603, allocations: 1.891 MB / 0.8513 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001087/0.6041, allocations: 0.7665 MB / 0.852 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/0.6043, allocations: 109.7 kB / 0.8521 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.6044, allocations: 47.2 kB / 0.8522 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=77): time 5.02e-06/0.6044, allocations: 0 / 0.8522 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92): time 0.01876/0.6232, allocations: 5.185 MB / 0.8572 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.6233, allocations: 145.5 kB / 0.8574 GB, free: 4.848 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.6245, allocations: 0.9723 MB / 0.8583 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.135e-05/0.6246, allocations: 41.7 kB / 0.8583 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007333/0.6253, allocations: 1.18 MB / 0.8595 GB, free: 2.617 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003068/0.6256, allocations: 335.4 kB / 0.8598 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005189/0.6262, allocations: 359.1 kB / 0.8602 GB, free: 1.926 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.6263, allocations: 326 kB / 0.8605 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.6275, allocations: 0.8792 MB / 0.8613 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/0.6292, allocations: 1.511 MB / 0.8628 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002873/0.632, allocations: 2.453 MB / 0.8652 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/0.6321, allocations: 7.938 kB / 0.8652 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003641/0.6357, allocations: 2.515 MB / 0.8677 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.6358, allocations: 12.94 kB / 0.8677 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.412e-05/0.6358, allocations: 20 kB / 0.8677 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.833e-05/0.6359, allocations: 35.94 kB / 0.8677 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/0.6383, allocations: 0.5148 MB / 0.8682 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.568e-05/0.6383, allocations: 51.78 kB / 0.8683 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.6395, allocations: 159.4 kB / 0.8684 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.6396, allocations: 91.97 kB / 0.8685 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002523/0.6422, allocations: 1.9 MB / 0.8704 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001642/0.6438, allocations: 1.495 MB / 0.8718 GB, free: 5.07 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002955/0.6468, allocations: 2.43 MB / 0.8742 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.799e-05/0.6468, allocations: 12 kB / 0.8742 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003709/0.6505, allocations: 2.488 MB / 0.8767 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.6506, allocations: 12.22 kB / 0.8767 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/0.6506, allocations: 24 kB / 0.8767 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.6506, allocations: 32 kB / 0.8767 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/0.653, allocations: 0.507 MB / 0.8772 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.802e-05/0.653, allocations: 43.86 kB / 0.8773 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.6542, allocations: 147.7 kB / 0.8774 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/0.6543, allocations: 87.98 kB / 0.8775 GB, free: 14.99 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004032/0.6547, allocations: 295.5 kB / 0.8778 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002618/0.655, allocations: 94.88 kB / 0.8779 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00288/0.6579, allocations: 1.829 MB / 0.8796 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.6579, allocations: 7.984 kB / 0.8796 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6579, allocations: 3.938 kB / 0.8797 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005218/0.6584, allocations: 283.9 kB / 0.8799 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.6586, allocations: 12 kB / 0.8799 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006485/0.6593, allocations: 71.89 kB / 0.88 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.6594, allocations: 60.8 kB / 0.8801 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002499/0.6619, allocations: 1.6 MB / 0.8816 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00179/0.6637, allocations: 1.601 MB / 0.8832 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007139/0.6644, allocations: 0.5583 MB / 0.8837 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001011/0.6654, allocations: 0.7254 MB / 0.8844 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of Backend: time 7.62e-07/0.6655, allocations: 0 / 0.8844 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005193/0.6707, allocations: 2.904 MB / 0.8873 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of SimCode: time 0.006569/0.6772, allocations: 4.149 MB / 0.8913 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of Templates: time 0.04382/0.7211, allocations: 28.51 MB / 0.9192 GB, free: 4.312 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)