Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.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.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 110.3 kB / 16.41 MB, free: 6.477 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.001613/0.001613, allocations: 185.5 kB / 17.34 MB, free: 5.754 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.515/1.515, 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.00208/0.00208, allocations: 297.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9658/0.9658, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001733/0.001733, allocations: 100.1 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4141, allocations: 86.97 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.004316/0.4184, allocations: 2.809 MB / 0.7698 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003434/0.4219, allocations: 2.022 MB / 0.7718 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.4221, allocations: 7.938 kB / 0.7718 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009779/0.4231, allocations: 225.1 kB / 0.772 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0006596/0.4238, allocations: 195.2 kB / 0.7722 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007692/0.4245, allocations: 279.2 kB / 0.7724 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00041/0.425, allocations: 311.1 kB / 0.7727 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003219/0.4253, allocations: 154 kB / 0.7729 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.4255, allocations: 127.5 kB / 0.773 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.4258, allocations: 147.5 kB / 0.7731 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.426, allocations: 20 kB / 0.7732 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006098/0.4266, allocations: 391.2 kB / 0.7735 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.4267, allocations: 95.78 kB / 0.7736 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.4268, allocations: 111.5 kB / 0.7737 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005871/0.4274, allocations: 465.3 kB / 0.7742 GB, free: 12.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.4274, allocations: 0 / 0.7742 GB, free: 12.59 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.522e-06/0.4274, allocations: 0 / 0.7742 GB, free: 12.59 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.066e-06/0.4274, allocations: 0 / 0.7742 GB, free: 12.59 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001104/0.4286, allocations: 0.5613 MB / 0.7747 GB, free: 11.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.4286, allocations: 12.03 kB / 0.7747 GB, free: 11.97 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007746/0.4294, allocations: 116.5 kB / 0.7748 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/0.4297, allocations: 261.4 kB / 0.7751 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.4297, allocations: 12.81 kB / 0.7751 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.443e-05/0.4298, allocations: 28.11 kB / 0.7751 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007456/0.4306, allocations: 385.9 kB / 0.7755 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.4306, allocations: 0 / 0.7755 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.4306, allocations: 4 kB / 0.7755 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.761e-05/0.4307, allocations: 27.98 kB / 0.7755 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008338/0.4315, allocations: 355.6 kB / 0.7759 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002141/0.4337, allocations: 1.73 MB / 0.7776 GB, free: 8.863 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006789/0.4344, allocations: 340.9 kB / 0.7779 GB, free: 8.512 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003318/0.4347, allocations: 184.4 kB / 0.7781 GB, free: 8.328 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001639/0.4349, allocations: 93.09 kB / 0.7781 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.4349, allocations: 38.5 kB / 0.7782 GB, free: 8.172 MB / 0.545 GB Notification: Performance of pre-optimization done (n=25): time 1.613e-06/0.435, allocations: 0 / 0.7782 GB, free: 8.172 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.007561/0.4425, allocations: 1.905 MB / 0.78 GB, free: 6.258 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.4426, allocations: 85.11 kB / 0.7801 GB, free: 6.156 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.4428, allocations: 184 kB / 0.7803 GB, free: 5.965 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.4428, allocations: 33.7 kB / 0.7803 GB, free: 5.926 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.4429, allocations: 148.3 kB / 0.7805 GB, free: 5.777 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.2e-05/0.443, allocations: 118.3 kB / 0.7806 GB, free: 5.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.4432, allocations: 77.59 kB / 0.7807 GB, free: 5.578 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4433, allocations: 334.8 kB / 0.781 GB, free: 5.242 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004638/0.4438, allocations: 264.6 kB / 0.7812 GB, free: 4.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005044/0.4443, allocations: 333.5 kB / 0.7816 GB, free: 4.621 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009916/0.4453, allocations: 0.5956 MB / 0.7821 GB, free: 3.996 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.4453, allocations: 3.938 kB / 0.7821 GB, free: 3.992 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001268/0.4466, allocations: 0.6314 MB / 0.7828 GB, free: 3.355 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.4466, allocations: 8 kB / 0.7828 GB, free: 3.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4466, allocations: 0 / 0.7828 GB, free: 3.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.4466, allocations: 4 kB / 0.7828 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009233/0.4476, allocations: 152.1 kB / 0.7829 GB, free: 3.195 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.4476, allocations: 11.94 kB / 0.7829 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003966/0.448, allocations: 51.92 kB / 0.783 GB, free: 3.133 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.448, allocations: 12 kB / 0.783 GB, free: 3.121 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005402/0.4486, allocations: 356 kB / 0.7833 GB, free: 2.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004813/0.4491, allocations: 334.5 kB / 0.7836 GB, free: 2.41 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009911/0.4501, allocations: 0.5627 MB / 0.7842 GB, free: 1.816 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.804e-06/0.4501, allocations: 4 kB / 0.7842 GB, free: 1.812 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001109/0.4512, allocations: 0.6181 MB / 0.7848 GB, free: 1.188 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.4512, allocations: 8.281 kB / 0.7848 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.4512, allocations: 4 kB / 0.7848 GB, free: 1.176 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.883e-06/0.4513, allocations: 8 kB / 0.7848 GB, free: 1.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008133/0.4521, allocations: 143.8 kB / 0.785 GB, free: 1.027 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.4521, allocations: 4 kB / 0.785 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003842/0.4525, allocations: 51.92 kB / 0.785 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.4525, allocations: 12 kB / 0.785 GB, free: 0.9609 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * 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.0001571/0.4527, allocations: 212 kB / 0.7852 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.584e-05/0.4528, allocations: 19.81 kB / 0.7852 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.4541, allocations: 0.6649 MB / 0.7859 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.4541, allocations: 8.031 kB / 0.7859 GB, free: 44 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4541, allocations: 8 kB / 0.7859 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.4541, allocations: 3.984 kB / 0.7859 GB, free: 32 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002038/0.4561, allocations: 1.36 MB / 0.7872 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.4562, allocations: 7.984 kB / 0.7872 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005531/0.4567, allocations: 116.1 kB / 0.7874 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.4567, allocations: 8 kB / 0.7874 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.4568, allocations: 8 kB / 0.7874 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.4568, allocations: 7.938 kB / 0.7874 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.4568, allocations: 4 kB / 0.7874 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009588/0.4577, allocations: 0.7123 MB / 0.7881 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.4579, allocations: 144.7 kB / 0.7882 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/0.4579, allocations: 12 kB / 0.7882 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/0.4583, allocations: 43.88 kB / 0.7883 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/0.4584, allocations: 27.91 kB / 0.7883 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.4584, allocations: 20 kB / 0.7883 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001159/0.4585, allocations: 139.2 kB / 0.7884 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4585, allocations: 0 / 0.7884 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005959/0.4591, allocations: 148 kB / 0.7886 GB, free: 13.13 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * 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.000197/0.4593, allocations: 141.8 kB / 0.7887 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001491/0.4608, allocations: 0.845 MB / 0.7895 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.4609, allocations: 0 / 0.7895 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004374/0.4613, allocations: 256.2 kB / 0.7898 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/0.4618, allocations: 48.09 kB / 0.7898 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.463, allocations: 0.7415 MB / 0.7906 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.4633, allocations: 0.7799 MB / 0.7913 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.4635, allocations: 35.42 kB / 0.7914 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.4635, allocations: 0 / 0.7914 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.006485/0.47, allocations: 4.801 MB / 0.796 GB, free: 5.434 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)