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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007749/0.0007749, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00121/0.00121, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.4 MB / 222.1 MB, free: 5.305 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.714/1.714, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005082/0.0005083, allocations: 14.62 kB / 0.6737 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2005, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.01638/0.2169, allocations: 14.88 MB / 0.8018 GB, free: 13 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.008487/0.2254, allocations: 5.416 MB / 0.8071 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.2267, allocations: 39.88 kB / 0.8072 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009361/0.2277, allocations: 281.9 kB / 0.8074 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.2296, allocations: 0.6264 MB / 0.808 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.2317, allocations: 0.6088 MB / 0.8086 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004806/0.2365, allocations: 4.572 MB / 0.8131 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008301/0.2448, allocations: 5.907 MB / 0.8189 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.2467, allocations: 1.203 MB / 0.82 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00208/0.2488, allocations: 1.753 MB / 0.8217 GB, free: 8.508 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000259/0.2491, allocations: 183.9 kB / 0.8219 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/0.2502, allocations: 0.5853 MB / 0.8225 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001187/0.2514, allocations: 1.357 MB / 0.8238 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005274/0.2519, allocations: 0.52 MB / 0.8243 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004152/0.2561, allocations: 5.081 MB / 0.8293 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.2561, allocations: 0 / 0.8293 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2561, allocations: 0 / 0.8293 GB, free: 0.7617 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.294e-05/0.2562, allocations: 4 kB / 0.8293 GB, free: 0.7578 MB / 0.6387 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.004062/0.2603, allocations: 2.244 MB / 0.8315 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.2604, allocations: 8.031 kB / 0.8315 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003019/0.2634, allocations: 0.6604 MB / 0.8321 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002189/0.2656, allocations: 1.414 MB / 0.8335 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.2657, allocations: 213.6 kB / 0.8337 GB, free: 12.11 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003735/0.2661, allocations: 268 kB / 0.834 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007207/0.2733, allocations: 4.699 MB / 0.8386 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.527e-05/0.2734, allocations: 0 / 0.8386 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002754/0.2737, allocations: 116 kB / 0.8387 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001654/0.2739, allocations: 148.6 kB / 0.8388 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006341/0.2802, allocations: 4.062 MB / 0.8428 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02159/0.3018, allocations: 20.3 MB / 0.8626 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002857/0.3047, allocations: 1.901 MB / 0.8645 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.3058, allocations: 0.7576 MB / 0.8652 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001728/0.306, allocations: 109.7 kB / 0.8653 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.306, allocations: 43.16 kB / 0.8654 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=77): time 2.935e-06/0.306, allocations: 0 / 0.8654 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92): time 0.01552/0.3216, allocations: 5.275 MB / 0.8705 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/0.3217, allocations: 141.5 kB / 0.8706 GB, free: 3.996 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.3229, allocations: 0.9645 MB / 0.8716 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.288e-05/0.3229, allocations: 41.7 kB / 0.8716 GB, free: 2.973 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006919/0.3236, allocations: 1.184 MB / 0.8728 GB, free: 1.77 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/0.3239, allocations: 331.4 kB / 0.8731 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.885e-05/0.324, allocations: 36 kB / 0.8731 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.3242, allocations: 406.8 kB / 0.8735 GB, free: 1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.3254, allocations: 0.851 MB / 0.8743 GB, free: 152 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.327, allocations: 1.495 MB / 0.8758 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.3286, allocations: 1.178 MB / 0.877 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/0.3286, allocations: 4 kB / 0.877 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003476/0.3321, allocations: 2.484 MB / 0.8794 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005022/0.3326, allocations: 0.714 MB / 0.8801 GB, free: 9.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/0.3326, allocations: 20 kB / 0.8801 GB, free: 9.66 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.043e-05/0.3327, allocations: 36 kB / 0.8801 GB, free: 9.625 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00213/0.3348, allocations: 0.5148 MB / 0.8806 GB, free: 9.109 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.086e-05/0.3348, allocations: 47.8 kB / 0.8807 GB, free: 9.062 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009413/0.3358, allocations: 155.5 kB / 0.8808 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.3359, allocations: 91.98 kB / 0.8809 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.3359, allocations: 4 kB / 0.8809 GB, free: 8.816 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003121/0.3391, allocations: 2.378 MB / 0.8832 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/0.3391, allocations: 24 kB / 0.8833 GB, free: 6.418 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/0.3391, allocations: 35.98 kB / 0.8833 GB, free: 6.383 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002046/0.3412, allocations: 0.5117 MB / 0.8838 GB, free: 5.871 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-05/0.3412, allocations: 43.86 kB / 0.8838 GB, free: 5.828 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007912/0.342, allocations: 131.7 kB / 0.884 GB, free: 5.699 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.3422, allocations: 91.92 kB / 0.8841 GB, free: 5.609 MB / 0.7012 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001755/0.3439, allocations: 1.222 MB / 0.8853 GB, free: 4.375 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.3441, allocations: 94.88 kB / 0.8853 GB, free: 4.281 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/0.3468, allocations: 1.829 MB / 0.8871 GB, free: 2.402 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.3468, allocations: 8 kB / 0.8871 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.3469, allocations: 8 kB / 0.8871 GB, free: 2.387 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.3469, allocations: 3.984 kB / 0.8871 GB, free: 2.383 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009914/0.3568, allocations: 9.029 MB / 0.896 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/0.3568, allocations: 13 kB / 0.896 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009742/0.3578, allocations: 259.6 kB / 0.8962 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.049e-05/0.3578, allocations: 19.98 kB / 0.8962 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.807e-05/0.3579, allocations: 35.94 kB / 0.8963 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.524e-05/0.3579, allocations: 15.94 kB / 0.8963 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/0.358, allocations: 15.94 kB / 0.8963 GB, free: 8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001909/0.3599, allocations: 1.766 MB / 0.898 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004624/0.3603, allocations: 323.8 kB / 0.8983 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.3605, allocations: 31.98 kB / 0.8984 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006292/0.3611, allocations: 79.91 kB / 0.8984 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.3612, allocations: 87.7 kB / 0.8985 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.635e-05/0.3613, allocations: 35.98 kB / 0.8986 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008945/0.3622, allocations: 0.7215 MB / 0.8993 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3622, allocations: 0 / 0.8993 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002725/0.3649, allocations: 0.8086 MB / 0.9001 GB, free: 3.977 MB / 0.7169 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 (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.0002611/0.3652, allocations: 163 kB / 0.9002 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004091/0.3693, allocations: 2.946 MB / 0.9031 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.3693, allocations: 5.875 kB / 0.9031 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000766/0.3701, allocations: 0.5748 MB / 0.9037 GB, free: 304 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.3714, allocations: 172.8 kB / 0.9038 GB, free: 136 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009144/0.3805, allocations: 5.338 MB / 0.909 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002137/0.3827, allocations: 2.101 MB / 0.9111 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002544/0.3853, allocations: 1.023 MB / 0.9121 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.3856, allocations: 103.4 kB / 0.9122 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of SimCode: time 7.91e-07/0.3856, allocations: 0 / 0.9122 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of Templates: time 0.4444/0.83, allocations: 13.73 MB / 0.9256 GB, free: 125.8 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: