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.00111/0.00111, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001068/0.001068, allocations: 183 kB / 17.34 MB, free: 5.766 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002268/0.002268, allocations: 299.1 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.9613/0.9613, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 95.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4725/0.4743, allocations: 86.97 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01999/0.4944, allocations: 16.4 MB / 0.7831 GB, free: 3.484 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009304/0.5037, allocations: 5.712 MB / 0.7887 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001163/0.5049, allocations: 47.88 kB / 0.7887 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004115/0.509, allocations: 1.543 MB / 0.7902 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002495/0.5116, allocations: 0.8325 MB / 0.791 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00289/0.5145, allocations: 1.05 MB / 0.7921 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004339/0.5189, allocations: 3.906 MB / 0.7959 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007135/0.526, allocations: 5.622 MB / 0.8014 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002515/0.5286, allocations: 1.757 MB / 0.8031 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003253/0.5318, allocations: 2.088 MB / 0.8051 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009558/0.5328, allocations: 416 kB / 0.8055 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002486/0.5353, allocations: 1.073 MB / 0.8066 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002411/0.5378, allocations: 1.657 MB / 0.8082 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002889/0.5407, allocations: 1.596 MB / 0.8097 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006948/0.5476, allocations: 6.064 MB / 0.8157 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.5477, allocations: 4 kB / 0.8157 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5477, allocations: 0 / 0.8157 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001104/0.5478, allocations: 0 / 0.8157 GB, free: 1.961 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.005361/0.5531, allocations: 2.767 MB / 0.8184 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.5532, allocations: 8.031 kB / 0.8184 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00327/0.5565, allocations: 0.6613 MB / 0.819 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/0.5587, allocations: 1.45 MB / 0.8204 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.5589, allocations: 206 kB / 0.8206 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003968/0.5593, allocations: 264.4 kB / 0.8209 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007652/0.567, allocations: 4.731 MB / 0.8255 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.342e-05/0.5671, allocations: 0 / 0.8255 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003101/0.5674, allocations: 116 kB / 0.8256 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001549/0.5675, allocations: 148.6 kB / 0.8258 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006386/0.5739, allocations: 4.089 MB / 0.8297 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02182/0.5958, allocations: 20.12 MB / 0.8494 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003143/0.5989, allocations: 1.891 MB / 0.8512 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.6, allocations: 0.7587 MB / 0.852 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001507/0.6002, allocations: 109.7 kB / 0.8521 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.6002, allocations: 55.16 kB / 0.8521 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=77): time 2.545e-06/0.6002, allocations: 0 / 0.8521 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92): time 0.01749/0.6177, allocations: 5.185 MB / 0.8572 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/0.6178, allocations: 141.5 kB / 0.8573 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.619, allocations: 0.9724 MB / 0.8583 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.305e-05/0.6191, allocations: 41.7 kB / 0.8583 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006973/0.6198, allocations: 1.187 MB / 0.8595 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002835/0.6201, allocations: 335.4 kB / 0.8598 GB, free: 2.301 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004955/0.6206, allocations: 351.1 kB / 0.8601 GB, free: 1.949 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6207, allocations: 330 kB / 0.8605 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/0.6219, allocations: 0.8753 MB / 0.8613 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/0.6235, allocations: 1.518 MB / 0.8628 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002786/0.6263, allocations: 2.449 MB / 0.8652 GB, free: 12.19 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.6263, allocations: 8 kB / 0.8652 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003472/0.6298, allocations: 2.508 MB / 0.8676 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.6298, allocations: 16 kB / 0.8677 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.6299, allocations: 20 kB / 0.8677 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.953e-05/0.6299, allocations: 32 kB / 0.8677 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/0.6323, allocations: 0.5192 MB / 0.8682 GB, free: 9.078 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.201e-05/0.6323, allocations: 47.84 kB / 0.8683 GB, free: 9.031 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009853/0.6333, allocations: 155.5 kB / 0.8684 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/0.6335, allocations: 87.98 kB / 0.8685 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002504/0.636, allocations: 1.912 MB / 0.8704 GB, free: 6.879 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001566/0.6376, allocations: 1.499 MB / 0.8718 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002765/0.6403, allocations: 2.426 MB / 0.8742 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.544e-06/0.6403, allocations: 4 kB / 0.8742 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003452/0.6438, allocations: 2.488 MB / 0.8766 GB, free: 15.87 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.6438, allocations: 16 kB / 0.8766 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.6439, allocations: 20 kB / 0.8767 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.6439, allocations: 32.78 kB / 0.8767 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/0.6462, allocations: 0.5186 MB / 0.8772 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.202e-05/0.6462, allocations: 43.86 kB / 0.8772 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.6472, allocations: 143.7 kB / 0.8774 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001319/0.6474, allocations: 87.92 kB / 0.8775 GB, free: 15.01 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.0003716/0.6478, allocations: 295.6 kB / 0.8777 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/0.648, allocations: 94.88 kB / 0.8778 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002699/0.6507, allocations: 1.825 MB / 0.8796 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.6507, allocations: 12 kB / 0.8796 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.6507, allocations: 0 / 0.8796 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.6507, allocations: 3.984 kB / 0.8796 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.661, allocations: 9.058 MB / 0.8885 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.661, allocations: 8 kB / 0.8885 GB, free: 2.672 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.662, allocations: 251.6 kB / 0.8887 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.645e-05/0.6621, allocations: 16 kB / 0.8887 GB, free: 2.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.226e-05/0.6621, allocations: 39.97 kB / 0.8888 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-05/0.6622, allocations: 16.41 kB / 0.8888 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.279e-05/0.6622, allocations: 27.81 kB / 0.8888 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001887/0.6641, allocations: 1.76 MB / 0.8905 GB, free: 432 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003726/0.6645, allocations: 291.9 kB / 0.8908 GB, free: 120 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.6646, allocations: 28 kB / 0.8908 GB, free: 92 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006971/0.6653, allocations: 75.89 kB / 0.8909 GB, free: 16 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.6655, allocations: 95.62 kB / 0.891 GB, free: 15.92 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.576e-05/0.6655, allocations: 36 kB / 0.891 GB, free: 15.88 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008878/0.6664, allocations: 0.7332 MB / 0.8918 GB, free: 15.15 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.613e-06/0.6664, allocations: 3.938 kB / 0.8918 GB, free: 15.14 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002686/0.6691, allocations: 0.8124 MB / 0.8926 GB, free: 14.33 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (89): * Single equations (assignments): 89 * 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 Backend phase and start with SimCode phase: time 0.0002556/0.6694, allocations: 166.8 kB / 0.8927 GB, free: 14.16 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004247/0.6736, allocations: 3.003 MB / 0.8956 GB, free: 11.16 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/0.6737, allocations: 0 / 0.8956 GB, free: 11.16 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007495/0.6744, allocations: 0.5724 MB / 0.8962 GB, free: 10.59 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.6757, allocations: 172.6 kB / 0.8964 GB, free: 10.44 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007761/0.6835, allocations: 4.869 MB / 0.9011 GB, free: 5.387 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002314/0.6858, allocations: 2.18 MB / 0.9033 GB, free: 3.168 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004445/0.6863, allocations: 111.4 kB / 0.9034 GB, free: 3.059 MB / 0.67 GB Notification: Performance of SimCode: time 4.51e-07/0.6863, allocations: 0 / 0.9034 GB, free: 3.059 MB / 0.67 GB Notification: Performance of Templates: time 0.03494/0.7212, allocations: 27.07 MB / 0.9298 GB, free: 8.062 MB / 0.7012 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)