Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.588/1.588, allocations: 289.7 MB / 302.3 MB, free: 2.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 177.8 kB / 371.6 MB, free: 3.375 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.758/1.758, allocations: 205.1 MB / 0.6309 GB, free: 11.76 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009251/0.0009251, allocations: 90.33 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.986e-05/4.016e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.284, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8982/1.182, allocations: 180.5 MB / 1.156 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/1.183, allocations: 95.09 kB / 1.156 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2305/1.413, allocations: 100.4 MB / 1.254 GB, free: 9.375 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.787e-06/1.413, allocations: 0 / 1.254 GB, free: 9.375 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.774e-05/1.413, allocations: 55.94 kB / 1.254 GB, free: 9.32 MB / 0.823 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.005934/1.419, allocations: 2.216 MB / 1.256 GB, free: 7.051 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/1.419, allocations: 8.031 kB / 1.256 GB, free: 7.043 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003977/1.423, allocations: 0.5903 MB / 1.257 GB, free: 6.449 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003368/1.427, allocations: 1.482 MB / 1.258 GB, free: 4.926 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/1.427, allocations: 209.6 kB / 1.259 GB, free: 4.719 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005334/1.427, allocations: 272 kB / 1.259 GB, free: 4.453 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008668/1.436, allocations: 4.22 MB / 1.263 GB, free: 148 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.716e-05/1.436, allocations: 0 / 1.263 GB, free: 148 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003121/1.436, allocations: 116 kB / 1.263 GB, free: 32 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001875/1.437, allocations: 140.6 kB / 1.263 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006585/1.443, allocations: 3.61 MB / 1.267 GB, free: 12.27 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02628/1.47, allocations: 20.22 MB / 1.287 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003087/1.473, allocations: 1.874 MB / 1.288 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/1.474, allocations: 0.7553 MB / 1.289 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/1.474, allocations: 113.8 kB / 1.289 GB, free: 3.156 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/1.474, allocations: 43.34 kB / 1.289 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=77): time 2.315e-06/1.474, allocations: 0 / 1.289 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of matching and sorting (n=92): time 0.02034/1.494, allocations: 4.811 MB / 1.294 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/1.495, allocations: 141.3 kB / 1.294 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/1.496, allocations: 0.8777 MB / 1.295 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/1.496, allocations: 41.7 kB / 1.295 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008506/1.497, allocations: 1.18 MB / 1.296 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004013/1.498, allocations: 335.4 kB / 1.296 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/1.498, allocations: 28 kB / 1.296 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002825/1.498, allocations: 402.7 kB / 1.297 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/1.499, allocations: 0.8472 MB / 1.298 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001822/1.501, allocations: 1.467 MB / 1.299 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/1.503, allocations: 1.164 MB / 1.3 GB, free: 7.457 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-05/1.503, allocations: 12 kB / 1.3 GB, free: 7.445 MB / 0.8698 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004093/1.507, allocations: 2.442 MB / 1.303 GB, free: 4.992 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00371/1.511, allocations: 8.352 MB / 1.311 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.968e-05/1.511, allocations: 24 kB / 1.311 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.398e-05/1.511, allocations: 32 kB / 1.311 GB, free: 11.93 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002511/1.514, allocations: 0.5226 MB / 1.311 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.3e-05/1.514, allocations: 51.78 kB / 1.311 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/1.515, allocations: 147.5 kB / 1.312 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002341/1.515, allocations: 95.97 kB / 1.312 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/1.515, allocations: 4 kB / 1.312 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003834/1.519, allocations: 2.336 MB / 1.314 GB, free: 8.781 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.705e-05/1.519, allocations: 24.03 kB / 1.314 GB, free: 8.758 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.644e-05/1.519, allocations: 39.89 kB / 1.314 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/1.522, allocations: 0.5148 MB / 1.314 GB, free: 8.203 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.465e-05/1.522, allocations: 51.78 kB / 1.315 GB, free: 8.152 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/1.523, allocations: 131.8 kB / 1.315 GB, free: 8.023 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001985/1.523, allocations: 83.98 kB / 1.315 GB, free: 7.941 MB / 0.8855 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003885/1.524, allocations: 212.3 kB / 1.315 GB, free: 7.727 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002913/1.524, allocations: 94.88 kB / 1.315 GB, free: 7.633 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003003/1.527, allocations: 1.816 MB / 1.317 GB, free: 5.766 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/1.527, allocations: 11.95 kB / 1.317 GB, free: 5.754 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/1.527, allocations: 8 kB / 1.317 GB, free: 5.746 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/1.527, allocations: 3.984 kB / 1.317 GB, free: 5.742 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/1.541, allocations: 9.025 MB / 1.326 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.426e-05/1.541, allocations: 8 kB / 1.326 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/1.542, allocations: 256.5 kB / 1.326 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.238e-05/1.542, allocations: 16 kB / 1.326 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.119e-05/1.542, allocations: 31.95 kB / 1.326 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.561e-05/1.542, allocations: 23.92 kB / 1.326 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/1.542, allocations: 15.94 kB / 1.326 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002804/1.545, allocations: 2.283 MB / 1.328 GB, free: 8.648 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007808/1.546, allocations: 331.7 kB / 1.329 GB, free: 8.305 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002752/1.546, allocations: 31.98 kB / 1.329 GB, free: 8.273 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009077/1.547, allocations: 79.86 kB / 1.329 GB, free: 8.195 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/1.547, allocations: 83.7 kB / 1.329 GB, free: 8.113 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-05/1.547, allocations: 36 kB / 1.329 GB, free: 8.078 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001241/1.548, allocations: 0.7138 MB / 1.329 GB, free: 7.367 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.71e-07/1.548, allocations: 0 / 1.329 GB, free: 7.367 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004056/1.553, allocations: 0.8632 MB / 1.33 GB, free: 6.504 MB / 0.9011 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000429/1.553, allocations: 178.8 kB / 1.33 GB, free: 6.316 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.005085/1.558, allocations: 2.914 MB / 1.333 GB, free: 3.414 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.558, allocations: 0 / 1.333 GB, free: 3.414 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008558/1.559, allocations: 0.5764 MB / 1.334 GB, free: 2.84 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/1.56, allocations: 153 kB / 1.334 GB, free: 2.695 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009203/1.569, allocations: 3.665 MB / 1.338 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002942/1.572, allocations: 2.149 MB / 1.34 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003109/1.576, allocations: 1.051 MB / 1.341 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003837/1.576, allocations: 87.42 kB / 1.341 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of SimCode: time 8.72e-07/1.576, allocations: 0 / 1.341 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of Templates: time 0.02867/1.605, allocations: 14.43 MB / 1.355 GB, free: 13.15 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)