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.001283/0.001284, allocations: 103.2 kB / 16.27 MB, free: 5.961 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.001331/0.001331, allocations: 188.2 kB / 17.19 MB, free: 5.594 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.315/1.315, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002118/0.002118, allocations: 286.8 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9472/0.9472, allocations: 169.3 MB / 0.4988 GB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 98.53 kB / 0.5959 GB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1931, allocations: 86.98 MB / 0.6808 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.3175/0.5107, allocations: 16.39 MB / 0.6969 GB, free: 11.81 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00879/0.5195, allocations: 5.714 MB / 0.7024 GB, free: 7.945 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.5209, allocations: 44.38 kB / 0.7025 GB, free: 7.941 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003823/0.5248, allocations: 1.546 MB / 0.704 GB, free: 7.016 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.5271, allocations: 0.8225 MB / 0.7048 GB, free: 6.547 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002942/0.53, allocations: 1.054 MB / 0.7058 GB, free: 5.977 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005214/0.5353, allocations: 3.91 MB / 0.7096 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007133/0.5424, allocations: 5.675 MB / 0.7152 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002824/0.5453, allocations: 1.742 MB / 0.7169 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003085/0.5484, allocations: 2.086 MB / 0.7189 GB, free: 372 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008594/0.5493, allocations: 417.7 kB / 0.7193 GB, free: 372 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002365/0.5516, allocations: 1.07 MB / 0.7204 GB, free: 132 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002131/0.5538, allocations: 1.666 MB / 0.722 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0026/0.5564, allocations: 1.599 MB / 0.7235 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006842/0.5633, allocations: 6.036 MB / 0.7294 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.5633, allocations: 0 / 0.7294 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5633, allocations: 1.125 kB / 0.7294 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001197/0.5634, allocations: 0 / 0.7294 GB, free: 10.57 MB / 0.4981 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.006743/0.5702, allocations: 2.764 MB / 0.7321 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.5702, allocations: 9.188 kB / 0.7322 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003603/0.5738, allocations: 0.6639 MB / 0.7328 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003813/0.5777, allocations: 1.426 MB / 0.7342 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001807/0.5779, allocations: 210 kB / 0.7344 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007207/0.5786, allocations: 267.1 kB / 0.7346 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008499/0.5871, allocations: 4.724 MB / 0.7393 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.845e-05/0.5872, allocations: 4 kB / 0.7393 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003344/0.5875, allocations: 119.9 kB / 0.7394 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001768/0.5877, allocations: 144.6 kB / 0.7395 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007039/0.5948, allocations: 4.089 MB / 0.7435 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02517/0.62, allocations: 20.29 MB / 0.7633 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003188/0.6232, allocations: 1.895 MB / 0.7652 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/0.6243, allocations: 0.7601 MB / 0.7659 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001515/0.6245, allocations: 105.7 kB / 0.766 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.6246, allocations: 51.09 kB / 0.7661 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=77): time 2.484e-06/0.6246, allocations: 0 / 0.7661 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of matching and sorting (n=92): time 0.01963/0.6442, allocations: 5.178 MB / 0.7711 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.888e-05/0.6443, allocations: 145.5 kB / 0.7713 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.6458, allocations: 0.9723 MB / 0.7722 GB, free: 328 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001109/0.6459, allocations: 41.7 kB / 0.7722 GB, free: 280 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007859/0.6467, allocations: 1.176 MB / 0.7734 GB, free: 15.08 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003401/0.647, allocations: 335.3 kB / 0.7737 GB, free: 14.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006109/0.6477, allocations: 355.2 kB / 0.7741 GB, free: 14.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6478, allocations: 334 kB / 0.7744 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.6492, allocations: 0.8753 MB / 0.7752 GB, free: 13.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.651, allocations: 1.518 MB / 0.7767 GB, free: 11.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003142/0.6541, allocations: 2.446 MB / 0.7791 GB, free: 8.637 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.799e-05/0.6542, allocations: 8 kB / 0.7791 GB, free: 8.629 MB / 0.545 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004027/0.6582, allocations: 2.508 MB / 0.7816 GB, free: 6.113 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/0.6583, allocations: 16 kB / 0.7816 GB, free: 6.098 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.517e-05/0.6583, allocations: 20 kB / 0.7816 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.409e-05/0.6584, allocations: 32 kB / 0.7816 GB, free: 6.047 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002415/0.6608, allocations: 0.5186 MB / 0.7821 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-05/0.6608, allocations: 43.86 kB / 0.7822 GB, free: 5.484 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.6621, allocations: 163.5 kB / 0.7823 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/0.6623, allocations: 91.97 kB / 0.7824 GB, free: 5.234 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002948/0.6653, allocations: 1.897 MB / 0.7843 GB, free: 3.332 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00177/0.6671, allocations: 1.503 MB / 0.7857 GB, free: 1.539 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003062/0.6701, allocations: 2.43 MB / 0.7881 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.497e-05/0.6702, allocations: 4 kB / 0.7881 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003937/0.6741, allocations: 2.492 MB / 0.7905 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.6741, allocations: 16 kB / 0.7906 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.705e-05/0.6742, allocations: 20 kB / 0.7906 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-05/0.6742, allocations: 32 kB / 0.7906 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002342/0.6766, allocations: 0.5108 MB / 0.7911 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.785e-05/0.6766, allocations: 44.14 kB / 0.7911 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.6778, allocations: 147.7 kB / 0.7913 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/0.678, allocations: 83.98 kB / 0.7914 GB, free: 11.45 MB / 0.5606 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.0004028/0.6784, allocations: 295.5 kB / 0.7917 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002864/0.6787, allocations: 98.89 kB / 0.7917 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002892/0.6816, allocations: 1.829 MB / 0.7935 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.6816, allocations: 15.98 kB / 0.7935 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.6817, allocations: 0 / 0.7935 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.6817, allocations: 3.984 kB / 0.7936 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01062/0.6923, allocations: 9.057 MB / 0.8024 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.6923, allocations: 8 kB / 0.8024 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.6934, allocations: 251.6 kB / 0.8026 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.756e-05/0.6934, allocations: 16 kB / 0.8027 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.366e-05/0.6935, allocations: 28.56 kB / 0.8027 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.629e-05/0.6935, allocations: 23.92 kB / 0.8027 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/0.6935, allocations: 19.88 kB / 0.8027 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/0.6955, allocations: 1.766 MB / 0.8045 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004525/0.6959, allocations: 284 kB / 0.8047 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.6961, allocations: 31.98 kB / 0.8048 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007101/0.6968, allocations: 71.91 kB / 0.8048 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.697, allocations: 99.55 kB / 0.8049 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.927e-05/0.697, allocations: 40 kB / 0.805 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009322/0.698, allocations: 0.7293 MB / 0.8057 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.698, allocations: 0 / 0.8057 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002686/0.7007, allocations: 0.8086 MB / 0.8065 GB, free: 10.77 MB / 0.5762 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.0002642/0.7009, allocations: 178.8 kB / 0.8066 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00426/0.7052, allocations: 3.127 MB / 0.8097 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.7052, allocations: 0 / 0.8097 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007254/0.7059, allocations: 0.5764 MB / 0.8102 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.7073, allocations: 181.3 kB / 0.8104 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007015/0.7143, allocations: 4.916 MB / 0.8152 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002041/0.7164, allocations: 2.184 MB / 0.8174 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004655/0.7168, allocations: 111.4 kB / 0.8175 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of SimCode: time 5.51e-07/0.7168, allocations: 0 / 0.8175 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.03702/0.7539, allocations: 26.89 MB / 0.8437 GB, free: 4.48 MB / 0.6075 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)