Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_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.001389/0.001389, allocations: 105.6 kB / 16.41 MB, free: 6.488 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.001637/0.001637, allocations: 191.9 kB / 17.34 MB, free: 5.762 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.313/1.313, 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.7807/0.7807, allocations: 122.9 MB / 414.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.92 kB / 0.5679 GB, free: 28.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1253, allocations: 77.93 MB / 0.644 GB, free: 9.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003873/0.1293, allocations: 2.728 MB / 0.6467 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002912/0.1322, allocations: 2.085 MB / 0.6487 GB, free: 4.742 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.315e-05/0.1323, allocations: 3.938 kB / 0.6488 GB, free: 4.738 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007405/0.1331, allocations: 243 kB / 0.649 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004252/0.1335, allocations: 219.1 kB / 0.6492 GB, free: 4.285 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005608/0.1341, allocations: 279.2 kB / 0.6495 GB, free: 4.012 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.1344, allocations: 315.1 kB / 0.6498 GB, free: 3.703 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002778/0.1347, allocations: 154.2 kB / 0.6499 GB, free: 3.551 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.1348, allocations: 127.5 kB / 0.65 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.1351, allocations: 159.5 kB / 0.6502 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.255e-05/0.1351, allocations: 16 kB / 0.6502 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005434/0.1357, allocations: 415.2 kB / 0.6506 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.1358, allocations: 99.75 kB / 0.6507 GB, free: 2.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.1359, allocations: 107.5 kB / 0.6508 GB, free: 2.645 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005434/0.1365, allocations: 482.4 kB / 0.6513 GB, free: 2.172 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1365, allocations: 0 / 0.6513 GB, free: 2.172 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1365, allocations: 0 / 0.6513 GB, free: 2.172 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1365, allocations: 0 / 0.6513 GB, free: 2.172 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.0008584/0.1374, allocations: 0.5763 MB / 0.6518 GB, free: 1.547 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.1374, allocations: 12.62 kB / 0.6518 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.987e-05/0.1375, allocations: 58.72 kB / 0.6519 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009909/0.1385, allocations: 132.6 kB / 0.652 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.1388, allocations: 262.5 kB / 0.6523 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.1388, allocations: 16.81 kB / 0.6523 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.329e-05/0.1389, allocations: 23.92 kB / 0.6523 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006836/0.1396, allocations: 389.9 kB / 0.6527 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1396, allocations: 3.984 kB / 0.6527 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.1396, allocations: 11.98 kB / 0.6527 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.195e-05/0.1397, allocations: 31.92 kB / 0.6527 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007318/0.1404, allocations: 371.7 kB / 0.6531 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.1425, allocations: 1.749 MB / 0.6548 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007346/0.1432, allocations: 354.7 kB / 0.6551 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.1436, allocations: 193.6 kB / 0.6553 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001329/0.1437, allocations: 85.11 kB / 0.6554 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1438, allocations: 42.5 kB / 0.6554 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.663e-06/0.1438, allocations: 0 / 0.6554 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.009002/0.1528, allocations: 2.057 MB / 0.6574 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.1528, allocations: 89.05 kB / 0.6575 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.153, allocations: 178.6 kB / 0.6577 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.1531, allocations: 33.7 kB / 0.6577 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.423e-05/0.1532, allocations: 148.7 kB / 0.6579 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.1533, allocations: 134.8 kB / 0.658 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.1534, allocations: 73.69 kB / 0.6581 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.1536, allocations: 334.8 kB / 0.6584 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005681/0.1542, allocations: 272.6 kB / 0.6586 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006021/0.1548, allocations: 345.4 kB / 0.659 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.156, allocations: 0.6267 MB / 0.6596 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.156, allocations: 0 / 0.6596 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001531/0.1576, allocations: 0.6583 MB / 0.6602 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1576, allocations: 4 kB / 0.6602 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.1576, allocations: 7.984 kB / 0.6602 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1576, allocations: 4 kB / 0.6602 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009702/0.1586, allocations: 160 kB / 0.6604 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1586, allocations: 4 kB / 0.6604 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004692/0.1591, allocations: 55.92 kB / 0.6604 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.1591, allocations: 15.98 kB / 0.6605 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006402/0.1598, allocations: 376.8 kB / 0.6608 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005794/0.1604, allocations: 337.2 kB / 0.6611 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00113/0.1615, allocations: 0.5903 MB / 0.6617 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.186e-06/0.1615, allocations: 3.984 kB / 0.6617 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001318/0.1629, allocations: 0.6376 MB / 0.6623 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.1629, allocations: 8 kB / 0.6624 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1629, allocations: 7.984 kB / 0.6624 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.751e-06/0.1629, allocations: 4 kB / 0.6624 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000925/0.1638, allocations: 139.8 kB / 0.6625 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/0.1639, allocations: 12.17 kB / 0.6625 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004535/0.1643, allocations: 51.94 kB / 0.6626 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.1644, allocations: 23.92 kB / 0.6626 GB, free: 6.039 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.000177/0.1645, allocations: 200.1 kB / 0.6628 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.226e-05/0.1646, allocations: 23.86 kB / 0.6628 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001449/0.1661, allocations: 0.6922 MB / 0.6635 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.1661, allocations: 4 kB / 0.6635 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1661, allocations: 0 / 0.6635 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1661, allocations: 0 / 0.6635 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.1684, allocations: 1.371 MB / 0.6648 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1684, allocations: 4.031 kB / 0.6648 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006077/0.169, allocations: 119.8 kB / 0.6649 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.169, allocations: 4 kB / 0.6649 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.186e-05/0.1691, allocations: 15.94 kB / 0.665 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.1691, allocations: 4 kB / 0.665 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.1691, allocations: 4 kB / 0.665 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.1701, allocations: 0.7069 MB / 0.6656 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.1703, allocations: 140.9 kB / 0.6658 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/0.1704, allocations: 15.88 kB / 0.6658 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003642/0.1707, allocations: 39.94 kB / 0.6658 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/0.1708, allocations: 31.91 kB / 0.6659 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.1709, allocations: 12 kB / 0.6659 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001735/0.171, allocations: 155.1 kB / 0.666 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.171, allocations: 0 / 0.666 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006409/0.1717, allocations: 143.9 kB / 0.6662 GB, free: 2.191 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.001362/0.1731, allocations: 1.295 MB / 0.6674 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001737/0.1748, allocations: 0.8705 MB / 0.6683 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1748, allocations: 0 / 0.6683 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004682/0.1753, allocations: 261.2 kB / 0.6685 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/0.1758, allocations: 49.97 kB / 0.6686 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00561/0.1814, allocations: 3.883 MB / 0.6724 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.1818, allocations: 0.7838 MB / 0.6731 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000515/0.1823, allocations: 178.8 kB / 0.6733 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.1826, allocations: 87.39 kB / 0.6734 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.1826, allocations: 0 / 0.6734 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.2068, allocations: 7.706 MB / 0.6809 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.701/7.908, allocations: 4.062 kB / 0.6809 GB, free: 2.965 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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_OnePhase_Conversion_Examples_ACACConverter.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1)