Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001295/0.001295, allocations: 168.7 kB / 15.95 MB, free: 204 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.702/1.702, allocations: 205.4 MB / 222.1 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.598/1.598, allocations: 252 MB / 0.5102 GB, free: 4.832 MB / 414.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.0005646/0.0005648, allocations: 23.98 kB / 0.6243 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.626/0.6266, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter): time 0.003706/0.6304, allocations: 2.957 MB / 0.731 GB, free: 8.438 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003258/0.6337, allocations: 2.05 MB / 0.733 GB, free: 6.379 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001623/0.6339, allocations: 8 kB / 0.733 GB, free: 6.371 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.6341, allocations: 39.64 kB / 0.7331 GB, free: 6.332 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005165/0.6346, allocations: 167.2 kB / 0.7332 GB, free: 6.168 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006568/0.6353, allocations: 215.5 kB / 0.7334 GB, free: 5.957 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004726/0.6357, allocations: 442.5 kB / 0.7339 GB, free: 5.523 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005456/0.6363, allocations: 317.4 kB / 0.7342 GB, free: 5.184 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.6365, allocations: 123.5 kB / 0.7343 GB, free: 5.062 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003255/0.6368, allocations: 175.4 kB / 0.7344 GB, free: 4.891 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.6369, allocations: 12 kB / 0.7345 GB, free: 4.879 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004732/0.6374, allocations: 275.5 kB / 0.7347 GB, free: 4.609 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.126e-05/0.6375, allocations: 75.78 kB / 0.7348 GB, free: 4.535 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.314e-05/0.6375, allocations: 69.58 kB / 0.7349 GB, free: 4.461 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004131/0.638, allocations: 387 kB / 0.7352 GB, free: 4.082 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.638, allocations: 0 / 0.7352 GB, free: 4.082 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.924e-06/0.638, allocations: 0 / 0.7352 GB, free: 4.082 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.638, allocations: 0 / 0.7352 GB, free: 4.082 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0008571/0.6389, allocations: 0.565 MB / 0.7358 GB, free: 3.469 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.6389, allocations: 8.031 kB / 0.7358 GB, free: 3.461 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008274/0.6397, allocations: 127.4 kB / 0.7359 GB, free: 3.336 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003938/0.6401, allocations: 270.5 kB / 0.7362 GB, free: 3.031 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.6402, allocations: 20.42 kB / 0.7362 GB, free: 3.008 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.6402, allocations: 19.94 kB / 0.7362 GB, free: 2.988 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006699/0.6409, allocations: 415.6 kB / 0.7366 GB, free: 2.551 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.6409, allocations: 3.938 kB / 0.7366 GB, free: 2.547 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.641, allocations: 15.92 kB / 0.7366 GB, free: 2.531 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.319e-05/0.641, allocations: 36.53 kB / 0.7367 GB, free: 2.496 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006134/0.6416, allocations: 353.9 kB / 0.737 GB, free: 2.152 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002365/0.644, allocations: 2.054 MB / 0.739 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007396/0.6448, allocations: 361.6 kB / 0.7393 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003792/0.6452, allocations: 201.9 kB / 0.7395 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.6453, allocations: 89.28 kB / 0.7396 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.6453, allocations: 30.75 kB / 0.7397 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/0.6453, allocations: 0 / 0.7397 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.004595/0.6499, allocations: 1.766 MB / 0.7414 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/0.65, allocations: 85.09 kB / 0.7415 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.6502, allocations: 233 kB / 0.7417 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.6503, allocations: 33.7 kB / 0.7417 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.6504, allocations: 180 kB / 0.7419 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.104e-05/0.6505, allocations: 114.3 kB / 0.742 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.6505, allocations: 12 kB / 0.742 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.6506, allocations: 334.8 kB / 0.7423 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/0.651, allocations: 204.7 kB / 0.7425 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.6514, allocations: 313.1 kB / 0.7428 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003992/0.6518, allocations: 243.7 kB / 0.7431 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.6519, allocations: 4 kB / 0.7431 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001172/0.653, allocations: 0.6725 MB / 0.7437 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/0.6532, allocations: 172.3 kB / 0.7439 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.6532, allocations: 0 / 0.7439 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000477/0.6536, allocations: 155.3 kB / 0.744 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/0.654, allocations: 103.8 kB / 0.7441 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002812/0.6569, allocations: 3.946 MB / 0.748 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.6572, allocations: 51.75 kB / 0.748 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.6572, allocations: 12 kB / 0.748 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/0.6573, allocations: 10 kB / 0.748 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001167/0.6584, allocations: 0.6198 MB / 0.7487 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.6585, allocations: 4 kB / 0.7487 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003504/0.6588, allocations: 147.4 kB / 0.7488 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.6592, allocations: 91.88 kB / 0.7489 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005871/0.6598, allocations: 1.113 MB / 0.75 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/0.6601, allocations: 31.97 kB / 0.75 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.6601, allocations: 16.19 kB / 0.75 GB, free: 3.977 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 41 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002422/0.6604, allocations: 257 kB / 0.7503 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.6604, allocations: 31.58 kB / 0.7503 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001218/0.6617, allocations: 0.6327 MB / 0.7509 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.6617, allocations: 4 kB / 0.7509 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.6617, allocations: 0 / 0.7509 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.6617, allocations: 3.953 kB / 0.7509 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.6638, allocations: 1.335 MB / 0.7522 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.6638, allocations: 4.031 kB / 0.7522 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.6641, allocations: 63.91 kB / 0.7523 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004084/0.6645, allocations: 147.3 kB / 0.7524 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.6645, allocations: 23.95 kB / 0.7525 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002867/0.6674, allocations: 3.962 MB / 0.7563 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6674, allocations: 4 kB / 0.7563 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.6687, allocations: 0.7936 MB / 0.7571 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.6689, allocations: 140.7 kB / 0.7572 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.669, allocations: 12 kB / 0.7572 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/0.6693, allocations: 31.97 kB / 0.7573 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.6694, allocations: 39.91 kB / 0.7573 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.6694, allocations: 15.94 kB / 0.7573 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001801/0.6696, allocations: 164.5 kB / 0.7575 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6696, allocations: 0 / 0.7575 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008461/0.6704, allocations: 164 kB / 0.7576 GB, free: 11.63 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002478/0.6707, allocations: 135.2 kB / 0.7578 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001968/0.6727, allocations: 1.205 MB / 0.7589 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6727, allocations: 0 / 0.7589 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007321/0.6734, allocations: 498.3 kB / 0.7594 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005696/0.674, allocations: 66.03 kB / 0.7595 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.6754, allocations: 0.8639 MB / 0.7603 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.6758, allocations: 0.8084 MB / 0.7611 GB, free: 7.887 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003601/0.6762, allocations: 114.9 kB / 0.7612 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.654e-05/0.6763, allocations: 23.44 kB / 0.7612 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of SimCode: time 6.92e-07/0.6763, allocations: 3.938 kB / 0.7613 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of Templates: time 0.01059/0.6869, allocations: 5.511 MB / 0.7666 GB, free: 2.297 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) Environment - environmentSimulation: