Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 101.1 kB / 16.4 MB, free: 6.496 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.001163/0.001164, allocations: 192 kB / 17.34 MB, free: 5.727 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7838/0.7838, allocations: 122.9 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.27 kB / 0.568 GB, free: 28.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1242, allocations: 77.93 MB / 0.6441 GB, free: 9.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.004528/0.1287, allocations: 2.797 MB / 0.6468 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003562/0.1323, allocations: 2.092 MB / 0.6488 GB, free: 4.656 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.1326, allocations: 4 kB / 0.6488 GB, free: 4.652 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007944/0.1334, allocations: 223.1 kB / 0.649 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006263/0.134, allocations: 227 kB / 0.6493 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008387/0.1349, allocations: 279.2 kB / 0.6495 GB, free: 3.938 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005087/0.1354, allocations: 307.2 kB / 0.6498 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004005/0.1358, allocations: 162.2 kB / 0.65 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.1361, allocations: 127.5 kB / 0.6501 GB, free: 3.352 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003795/0.1365, allocations: 155.5 kB / 0.6502 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.695e-05/0.1365, allocations: 24 kB / 0.6503 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000654/0.1372, allocations: 415.2 kB / 0.6507 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.1373, allocations: 95.78 kB / 0.6508 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.1375, allocations: 111.5 kB / 0.6509 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006991/0.1382, allocations: 490.3 kB / 0.6513 GB, free: 2.086 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1382, allocations: 4 kB / 0.6513 GB, free: 2.082 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1382, allocations: 0 / 0.6513 GB, free: 2.082 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.1382, allocations: 0 / 0.6513 GB, free: 2.082 MB / 494.1 MB 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.0009838/0.1392, allocations: 0.5685 MB / 0.6519 GB, free: 1.465 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1393, allocations: 12.61 kB / 0.6519 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.113e-05/0.1393, allocations: 54.73 kB / 0.652 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.1404, allocations: 132.6 kB / 0.6521 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.1407, allocations: 261.1 kB / 0.6523 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.1408, allocations: 16.81 kB / 0.6523 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.429e-05/0.1408, allocations: 23.94 kB / 0.6524 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006705/0.1415, allocations: 393.9 kB / 0.6527 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.1415, allocations: 4 kB / 0.6527 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.1416, allocations: 11.98 kB / 0.6528 GB, free: 0.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.355e-05/0.1416, allocations: 23.98 kB / 0.6528 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007183/0.1424, allocations: 371.6 kB / 0.6531 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.1444, allocations: 1.749 MB / 0.6548 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007421/0.1452, allocations: 356.8 kB / 0.6552 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.1455, allocations: 194.2 kB / 0.6554 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.1457, allocations: 85.09 kB / 0.6554 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.1457, allocations: 34.56 kB / 0.6555 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.483e-06/0.1457, allocations: 4 kB / 0.6555 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.009147/0.1549, allocations: 2.056 MB / 0.6575 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.1549, allocations: 92.97 kB / 0.6576 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.1551, allocations: 182.6 kB / 0.6578 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.1551, allocations: 29.7 kB / 0.6578 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.407e-05/0.1552, allocations: 152.7 kB / 0.6579 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.822e-05/0.1553, allocations: 122.9 kB / 0.658 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.1555, allocations: 81.67 kB / 0.6581 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.1556, allocations: 326.8 kB / 0.6584 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005861/0.1562, allocations: 272.6 kB / 0.6587 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006163/0.1568, allocations: 345.5 kB / 0.659 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.158, allocations: 0.6306 MB / 0.6596 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.158, allocations: 0 / 0.6596 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001363/0.1594, allocations: 0.6583 MB / 0.6603 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.1594, allocations: 8 kB / 0.6603 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1595, allocations: 0 / 0.6603 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1595, allocations: 4 kB / 0.6603 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009871/0.1605, allocations: 156 kB / 0.6604 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.1605, allocations: 4 kB / 0.6604 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004715/0.161, allocations: 59.95 kB / 0.6605 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/0.161, allocations: 19.92 kB / 0.6605 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006254/0.1617, allocations: 371.9 kB / 0.6609 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005836/0.1623, allocations: 341.1 kB / 0.6612 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001104/0.1634, allocations: 0.5942 MB / 0.6618 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.853e-06/0.1634, allocations: 0 / 0.6618 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001342/0.1647, allocations: 0.6455 MB / 0.6624 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.1648, allocations: 4 kB / 0.6624 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1648, allocations: 4 kB / 0.6624 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.1648, allocations: 8 kB / 0.6624 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009175/0.1657, allocations: 147.7 kB / 0.6626 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1657, allocations: 4 kB / 0.6626 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/0.1662, allocations: 60.08 kB / 0.6626 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.1662, allocations: 19.94 kB / 0.6627 GB, free: 5.957 MB / 0.4981 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.0001527/0.1664, allocations: 204.1 kB / 0.6628 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.861e-05/0.1665, allocations: 19.86 kB / 0.6629 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.1679, allocations: 0.6882 MB / 0.6635 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.1679, allocations: 4 kB / 0.6635 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1679, allocations: 4 kB / 0.6635 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.1679, allocations: 3.984 kB / 0.6635 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.1701, allocations: 1.363 MB / 0.6649 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.1701, allocations: 4 kB / 0.6649 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005878/0.1707, allocations: 120 kB / 0.665 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.1707, allocations: 4 kB / 0.665 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.077e-05/0.1708, allocations: 15.94 kB / 0.665 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.1708, allocations: 8 kB / 0.665 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1708, allocations: 4 kB / 0.665 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.1718, allocations: 0.7069 MB / 0.6657 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001686/0.172, allocations: 140.9 kB / 0.6659 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.716e-05/0.1721, allocations: 15.92 kB / 0.6659 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003781/0.1724, allocations: 35.95 kB / 0.6659 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.054e-05/0.1725, allocations: 27.97 kB / 0.6659 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.1726, allocations: 15.98 kB / 0.6659 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001704/0.1727, allocations: 151.1 kB / 0.6661 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1728, allocations: 3.938 kB / 0.6661 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006474/0.1734, allocations: 151.9 kB / 0.6662 GB, free: 2.105 MB / 0.4981 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.00133/0.1747, allocations: 1.287 MB / 0.6675 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001758/0.1765, allocations: 0.8747 MB / 0.6683 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1765, allocations: 0 / 0.6683 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004397/0.177, allocations: 256.8 kB / 0.6686 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/0.1775, allocations: 50.11 kB / 0.6686 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005544/0.1831, allocations: 3.889 MB / 0.6724 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.1834, allocations: 0.7838 MB / 0.6732 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005514/0.1839, allocations: 182.8 kB / 0.6734 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.1842, allocations: 83.41 kB / 0.6735 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1842, allocations: 0 / 0.6735 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02534/0.2095, allocations: 7.713 MB / 0.681 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.669/7.879, allocations: 9.25 kB / 0.681 GB, free: 2.902 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACConverter.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter.pipe 2>&1)