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.001095/0.001095, allocations: 106.9 kB / 16.36 MB, free: 5.824 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.001092/0.001092, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002129/0.002129, allocations: 292.2 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9266/0.9266, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.00186, allocations: 90.92 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1481, allocations: 86.98 MB / 0.6816 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.2635/0.4117, allocations: 16.39 MB / 0.6976 GB, free: 10.67 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0084/0.4202, allocations: 5.71 MB / 0.7032 GB, free: 6.812 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.4214, allocations: 47.12 kB / 0.7032 GB, free: 6.805 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003792/0.4252, allocations: 1.543 MB / 0.7047 GB, free: 5.891 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.4273, allocations: 0.8305 MB / 0.7056 GB, free: 5.418 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.43, allocations: 1.051 MB / 0.7066 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004292/0.4343, allocations: 3.903 MB / 0.7104 GB, free: 3.191 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007127/0.4415, allocations: 5.631 MB / 0.7159 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002748/0.4442, allocations: 1.742 MB / 0.7176 GB, free: 160 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003686/0.4479, allocations: 2.092 MB / 0.7196 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001332/0.4493, allocations: 417.2 kB / 0.72 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002894/0.4522, allocations: 1.07 MB / 0.7211 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002951/0.4551, allocations: 1.661 MB / 0.7227 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.003678/0.4588, allocations: 1.601 MB / 0.7243 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006288/0.4651, allocations: 6.063 MB / 0.7302 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4652, allocations: 0 / 0.7302 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4652, allocations: 0 / 0.7302 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.84e-05/0.4652, allocations: 0 / 0.7302 GB, free: 9.379 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.005231/0.4705, allocations: 2.768 MB / 0.7329 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.4705, allocations: 17.77 kB / 0.7329 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003213/0.4738, allocations: 0.6635 MB / 0.7336 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003291/0.4771, allocations: 1.44 MB / 0.735 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.4772, allocations: 208.9 kB / 0.7352 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004303/0.4776, allocations: 271.6 kB / 0.7354 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007078/0.4847, allocations: 4.726 MB / 0.74 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.795e-05/0.4848, allocations: 0 / 0.74 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003109/0.4851, allocations: 112 kB / 0.7401 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001472/0.4853, allocations: 148.6 kB / 0.7403 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005855/0.4911, allocations: 4.089 MB / 0.7443 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02135/0.5125, allocations: 20.12 MB / 0.7639 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002947/0.5155, allocations: 1.891 MB / 0.7658 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009782/0.5165, allocations: 0.7548 MB / 0.7665 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.5166, allocations: 109.7 kB / 0.7666 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.5167, allocations: 47.22 kB / 0.7667 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=77): time 2.434e-06/0.5167, allocations: 0 / 0.7667 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of matching and sorting (n=92): time 0.01719/0.5339, allocations: 5.185 MB / 0.7717 GB, free: 384 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.502e-05/0.534, allocations: 149.6 kB / 0.7719 GB, free: 204 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.5352, allocations: 0.9724 MB / 0.7728 GB, free: 15.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.123e-05/0.5353, allocations: 41.7 kB / 0.7729 GB, free: 15.17 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006113/0.5359, allocations: 1.176 MB / 0.774 GB, free: 13.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000243/0.5362, allocations: 331.4 kB / 0.7743 GB, free: 13.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005008/0.5367, allocations: 363 kB / 0.7747 GB, free: 13.29 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.5368, allocations: 333.9 kB / 0.775 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.538, allocations: 0.8753 MB / 0.7758 GB, free: 12.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001508/0.5395, allocations: 1.507 MB / 0.7773 GB, free: 10.28 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002675/0.5422, allocations: 2.457 MB / 0.7797 GB, free: 7.527 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.5422, allocations: 8 kB / 0.7797 GB, free: 7.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003427/0.5456, allocations: 2.507 MB / 0.7822 GB, free: 5.004 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.5457, allocations: 16 kB / 0.7822 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/0.5457, allocations: 24.88 kB / 0.7822 GB, free: 4.965 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.594e-05/0.5457, allocations: 32 kB / 0.7822 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.548, allocations: 0.5148 MB / 0.7827 GB, free: 4.418 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.699e-05/0.548, allocations: 43.86 kB / 0.7828 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.5491, allocations: 151.6 kB / 0.7829 GB, free: 4.227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.5492, allocations: 91.97 kB / 0.783 GB, free: 4.137 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002562/0.5518, allocations: 1.893 MB / 0.7849 GB, free: 2.238 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001485/0.5533, allocations: 1.506 MB / 0.7863 GB, free: 452 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002639/0.5559, allocations: 2.426 MB / 0.7887 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.376e-06/0.556, allocations: 8 kB / 0.7887 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.003353/0.5593, allocations: 2.496 MB / 0.7911 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.5594, allocations: 19.94 kB / 0.7912 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.5594, allocations: 28.06 kB / 0.7912 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/0.5594, allocations: 32 kB / 0.7912 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/0.5616, allocations: 0.5108 MB / 0.7917 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.115e-05/0.5616, allocations: 43.86 kB / 0.7918 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.5626, allocations: 143.8 kB / 0.7919 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.5628, allocations: 83.98 kB / 0.792 GB, free: 10.35 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.0003025/0.5631, allocations: 299.5 kB / 0.7923 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/0.5633, allocations: 94.86 kB / 0.7924 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002514/0.5658, allocations: 1.817 MB / 0.7941 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.5658, allocations: 15.98 kB / 0.7941 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5659, allocations: 4 kB / 0.7941 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.5659, allocations: 3.984 kB / 0.7942 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.5765, allocations: 9.054 MB / 0.803 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.5765, allocations: 12 kB / 0.803 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.5776, allocations: 248.5 kB / 0.8032 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.497e-05/0.5776, allocations: 20 kB / 0.8033 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.406e-05/0.5777, allocations: 28 kB / 0.8033 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.865e-05/0.5777, allocations: 27.86 kB / 0.8033 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/0.5777, allocations: 19.88 kB / 0.8033 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.5796, allocations: 1.764 MB / 0.8051 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005431/0.5801, allocations: 287.9 kB / 0.8053 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.5803, allocations: 35.98 kB / 0.8054 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007136/0.581, allocations: 71.91 kB / 0.8054 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.5811, allocations: 103.5 kB / 0.8055 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.003e-05/0.5812, allocations: 36 kB / 0.8056 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008505/0.5821, allocations: 0.7293 MB / 0.8063 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5821, allocations: 0 / 0.8063 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002658/0.5847, allocations: 0.8047 MB / 0.8071 GB, free: 9.668 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.0002557/0.585, allocations: 166.9 kB / 0.8072 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003962/0.589, allocations: 3.001 MB / 0.8102 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.589, allocations: 4 kB / 0.8102 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007199/0.5897, allocations: 0.5725 MB / 0.8107 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.591, allocations: 178.2 kB / 0.8109 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006341/0.5973, allocations: 4.406 MB / 0.8152 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001886/0.5992, allocations: 2.105 MB / 0.8172 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002169/0.6014, allocations: 1.023 MB / 0.8182 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/0.6017, allocations: 99.34 kB / 0.8183 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/0.6018, allocations: 0 / 0.8183 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of Templates: time 0.02381/0.6256, allocations: 14.7 MB / 0.8327 GB, free: 15.34 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1)