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.00476/0.00476, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001086/0.001086, allocations: 196.8 kB / 16.68 MB, free: 5.977 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002011/0.002011, allocations: 286.9 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9677/0.9677, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 95.86 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1738, allocations: 86.97 MB / 0.7664 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.3299/0.5038, allocations: 16.4 MB / 0.7824 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00735/0.5112, allocations: 5.719 MB / 0.788 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005584/0.5118, allocations: 46.41 kB / 0.7881 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003207/0.515, allocations: 1.537 MB / 0.7896 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001472/0.5165, allocations: 0.8204 MB / 0.7904 GB, free: 3.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002128/0.5186, allocations: 1.062 MB / 0.7914 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003057/0.5217, allocations: 3.908 MB / 0.7952 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005955/0.5277, allocations: 5.62 MB / 0.8007 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002358/0.53, allocations: 1.747 MB / 0.8024 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002687/0.5327, allocations: 2.095 MB / 0.8044 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005461/0.5333, allocations: 417.7 kB / 0.8048 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001997/0.5353, allocations: 1.066 MB / 0.8059 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001732/0.537, allocations: 1.665 MB / 0.8075 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001673/0.5387, allocations: 1.598 MB / 0.8091 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006345/0.5451, allocations: 6.074 MB / 0.815 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5451, allocations: 1.469 kB / 0.815 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.978e-06/0.5451, allocations: 0 / 0.815 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001038/0.5452, allocations: 3.938 kB / 0.815 GB, free: 8.691 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.005635/0.5509, allocations: 2.822 MB / 0.8178 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5509, allocations: 14.44 kB / 0.8178 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003249/0.5542, allocations: 0.6718 MB / 0.8184 GB, free: 6.395 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002281/0.5565, allocations: 1.447 MB / 0.8198 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.5566, allocations: 206.9 kB / 0.82 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004374/0.5571, allocations: 271.3 kB / 0.8203 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007864/0.5649, allocations: 4.719 MB / 0.8249 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.296e-05/0.565, allocations: 1.062 kB / 0.8249 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003198/0.5653, allocations: 115.9 kB / 0.825 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001512/0.5655, allocations: 149.7 kB / 0.8252 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006184/0.5717, allocations: 4.089 MB / 0.8292 GB, free: 308 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01943/0.5911, allocations: 20.16 MB / 0.8488 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003136/0.5943, allocations: 1.895 MB / 0.8507 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.5955, allocations: 0.7626 MB / 0.8514 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/0.5957, allocations: 113.7 kB / 0.8516 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.5957, allocations: 43.22 kB / 0.8516 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=77): time 3.176e-06/0.5957, allocations: 0 / 0.8516 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of matching and sorting (n=92): time 0.01711/0.6128, allocations: 5.282 MB / 0.8568 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/0.6129, allocations: 145.5 kB / 0.8569 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.6142, allocations: 0.9688 MB / 0.8578 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.197e-05/0.6143, allocations: 41.7 kB / 0.8579 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008026/0.6151, allocations: 1.231 MB / 0.8591 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/0.6154, allocations: 349.1 kB / 0.8594 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005463/0.6159, allocations: 355.4 kB / 0.8597 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.6161, allocations: 330 kB / 0.8601 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.6173, allocations: 0.883 MB / 0.8609 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.6188, allocations: 1.507 MB / 0.8624 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002753/0.6216, allocations: 2.457 MB / 0.8648 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/0.6216, allocations: 8 kB / 0.8648 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003394/0.625, allocations: 2.512 MB / 0.8673 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/0.625, allocations: 16 kB / 0.8673 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/0.6251, allocations: 20 kB / 0.8673 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.844e-05/0.6251, allocations: 32 kB / 0.8673 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002238/0.6273, allocations: 0.5192 MB / 0.8678 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.803e-05/0.6274, allocations: 43.86 kB / 0.8679 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009941/0.6284, allocations: 151.7 kB / 0.868 GB, free: 8.719 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.6285, allocations: 91.98 kB / 0.8681 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002632/0.6312, allocations: 1.901 MB / 0.87 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001577/0.6328, allocations: 1.503 MB / 0.8714 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00274/0.6355, allocations: 2.422 MB / 0.8738 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-05/0.6355, allocations: 4 kB / 0.8738 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.00351/0.639, allocations: 2.496 MB / 0.8762 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.6391, allocations: 16 kB / 0.8763 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.83e-05/0.6391, allocations: 20.88 kB / 0.8763 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-05/0.6391, allocations: 35.94 kB / 0.8763 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002166/0.6413, allocations: 0.5187 MB / 0.8768 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.664e-05/0.6414, allocations: 43.86 kB / 0.8769 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.6424, allocations: 139.8 kB / 0.877 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.6425, allocations: 87.98 kB / 0.8771 GB, free: 14.85 MB / 0.6387 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.000294/0.6428, allocations: 303.5 kB / 0.8774 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.6431, allocations: 95.44 kB / 0.8775 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002643/0.6457, allocations: 1.833 MB / 0.8792 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.6457, allocations: 12 kB / 0.8793 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.6458, allocations: 0 / 0.8793 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.6458, allocations: 7.922 kB / 0.8793 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.6566, allocations: 9.066 MB / 0.8881 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-05/0.6566, allocations: 8 kB / 0.8881 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.6576, allocations: 247.6 kB / 0.8884 GB, free: 2.238 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.12e-05/0.6576, allocations: 16 kB / 0.8884 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-05/0.6577, allocations: 28.56 kB / 0.8884 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.605e-05/0.6577, allocations: 27.88 kB / 0.8884 GB, free: 2.168 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.254e-05/0.6578, allocations: 23.86 kB / 0.8884 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.6597, allocations: 1.764 MB / 0.8902 GB, free: 244 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004414/0.6601, allocations: 296.5 kB / 0.8905 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/0.6603, allocations: 31.98 kB / 0.8905 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007792/0.6611, allocations: 67.91 kB / 0.8905 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.6613, allocations: 95.55 kB / 0.8906 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.486e-05/0.6613, allocations: 44 kB / 0.8907 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009248/0.6623, allocations: 0.7254 MB / 0.8914 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6623, allocations: 0 / 0.8914 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003107/0.6654, allocations: 0.8085 MB / 0.8922 GB, free: 14.16 MB / 0.6544 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.0003048/0.6657, allocations: 162.8 kB / 0.8923 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00428/0.67, allocations: 3.006 MB / 0.8953 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.67, allocations: 0 / 0.8953 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007818/0.6708, allocations: 0.5726 MB / 0.8958 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.6722, allocations: 177.9 kB / 0.896 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007665/0.6798, allocations: 4.476 MB / 0.9004 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002583/0.6824, allocations: 2.109 MB / 0.9024 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00228/0.6847, allocations: 1.023 MB / 0.9034 GB, free: 2.434 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003665/0.6851, allocations: 91.42 kB / 0.9035 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of SimCode: time 1.964e-06/0.6851, allocations: 3.938 kB / 0.9035 GB, free: 2.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.02639/0.7115, allocations: 15.21 MB / 0.9184 GB, free: 3.242 MB / 0.67 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)