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.001104/0.001104, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001112/0.001112, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.314/1.314, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002097/0.002097, allocations: 285.9 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.976/0.976, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003124/0.003124, allocations: 99.83 kB / 0.6821 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4571/0.4602, allocations: 86.96 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01964/0.4799, allocations: 16.4 MB / 0.7831 GB, free: 3.457 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009093/0.489, allocations: 5.724 MB / 0.7887 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008723/0.4899, allocations: 47.88 kB / 0.7887 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003721/0.4937, allocations: 1.528 MB / 0.7902 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001894/0.4956, allocations: 0.8325 MB / 0.791 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.4981, allocations: 1.058 MB / 0.7921 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004041/0.5022, allocations: 3.91 MB / 0.7959 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007107/0.5093, allocations: 5.618 MB / 0.8014 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003444/0.5128, allocations: 1.753 MB / 0.8031 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003608/0.5164, allocations: 2.096 MB / 0.8051 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001257/0.5177, allocations: 420 kB / 0.8055 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.5202, allocations: 1.061 MB / 0.8066 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00234/0.5226, allocations: 1.665 MB / 0.8082 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00253/0.5252, allocations: 1.599 MB / 0.8098 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00568/0.5308, allocations: 6.061 MB / 0.8157 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.5309, allocations: 0 / 0.8157 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5309, allocations: 0 / 0.8157 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.603e-05/0.531, 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.004756/0.5357, allocations: 2.767 MB / 0.8184 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.5358, allocations: 8.031 kB / 0.8184 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003239/0.539, allocations: 0.6652 MB / 0.819 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/0.5412, allocations: 1.446 MB / 0.8204 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.5414, allocations: 206 kB / 0.8206 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004131/0.5418, allocations: 268.4 kB / 0.8209 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007409/0.5492, allocations: 4.721 MB / 0.8255 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.635e-05/0.5493, allocations: 4 kB / 0.8255 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003037/0.5496, allocations: 119.9 kB / 0.8256 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001656/0.5498, allocations: 148.6 kB / 0.8258 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006968/0.5567, allocations: 4.085 MB / 0.8298 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02314/0.5799, allocations: 20.12 MB / 0.8494 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003197/0.5831, allocations: 1.884 MB / 0.8512 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.5842, allocations: 0.7704 MB / 0.852 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001484/0.5844, allocations: 109.7 kB / 0.8521 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.5845, allocations: 43.16 kB / 0.8521 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=77): time 5.29e-06/0.5845, allocations: 4 kB / 0.8521 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92): time 0.0185/0.603, allocations: 5.189 MB / 0.8572 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.435e-05/0.6031, allocations: 137.5 kB / 0.8573 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.6044, allocations: 0.9723 MB / 0.8583 GB, free: 3.859 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.077e-05/0.6044, allocations: 37.7 kB / 0.8583 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008147/0.6053, allocations: 1.187 MB / 0.8595 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000311/0.6056, allocations: 331.4 kB / 0.8598 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005438/0.6061, allocations: 363.2 kB / 0.8602 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.6063, allocations: 330 kB / 0.8605 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001237/0.6075, allocations: 0.8753 MB / 0.8613 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/0.6092, allocations: 1.518 MB / 0.8628 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002943/0.6122, allocations: 2.45 MB / 0.8652 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.6122, allocations: 11.94 kB / 0.8652 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003483/0.6157, allocations: 2.504 MB / 0.8677 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.016e-05/0.6157, allocations: 18.81 kB / 0.8677 GB, free: 9.621 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/0.6157, allocations: 20 kB / 0.8677 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.42e-05/0.6158, allocations: 32 kB / 0.8677 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/0.6181, allocations: 0.5147 MB / 0.8682 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.467e-05/0.6181, allocations: 43.86 kB / 0.8683 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.6192, allocations: 163.4 kB / 0.8684 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.6193, allocations: 83.98 kB / 0.8685 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002441/0.6217, allocations: 1.903 MB / 0.8704 GB, free: 6.863 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001661/0.6234, allocations: 1.499 MB / 0.8718 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002984/0.6264, allocations: 2.434 MB / 0.8742 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.706e-06/0.6264, allocations: 4 kB / 0.8742 GB, free: 2.34 MB / 0.6387 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003538/0.63, allocations: 2.492 MB / 0.8766 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.63, allocations: 16 kB / 0.8767 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/0.63, allocations: 20 kB / 0.8767 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/0.6301, allocations: 32 kB / 0.8767 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/0.6323, allocations: 0.5148 MB / 0.8772 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.228e-05/0.6324, allocations: 40.14 kB / 0.8772 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009935/0.6334, allocations: 147.7 kB / 0.8774 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/0.6335, allocations: 91.97 kB / 0.8775 GB, free: 14.98 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.0003701/0.6339, allocations: 287.6 kB / 0.8777 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.6341, allocations: 98.81 kB / 0.8778 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002654/0.6368, allocations: 1.833 MB / 0.8796 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.6368, allocations: 3.984 kB / 0.8796 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.6368, allocations: 4 kB / 0.8796 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000344/0.6372, allocations: 275.9 kB / 0.8799 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.6373, allocations: 16 kB / 0.8799 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006169/0.6379, allocations: 75.88 kB / 0.88 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.638, allocations: 52.88 kB / 0.88 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002396/0.6404, allocations: 1.608 MB / 0.8816 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001714/0.6422, allocations: 1.602 MB / 0.8832 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000697/0.6429, allocations: 0.5582 MB / 0.8837 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008881/0.6438, allocations: 0.7293 MB / 0.8844 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of Backend: time 1.91e-07/0.6438, allocations: 0 / 0.8844 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005064/0.6488, allocations: 2.897 MB / 0.8873 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of SimCode: time 0.006015/0.6549, allocations: 4.159 MB / 0.8913 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of Templates: time 0.04253/0.6974, allocations: 28.5 MB / 0.9191 GB, free: 4.316 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)