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.000768/0.0007681, allocations: 93.25 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007629/0.0007628, allocations: 174.5 kB / 16.58 MB, free: 5.676 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.265/1.265, allocations: 223.3 MB / 240.6 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6318/0.6318, allocations: 113.7 MB / 405.4 MB, free: 4.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002876/0.0002876, allocations: 13.41 kB / 493.2 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1441, allocations: 77.12 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.002915/0.147, allocations: 2.334 MB / 0.5592 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002573/0.1496, allocations: 1.864 MB / 0.561 GB, free: 7.426 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1498, allocations: 4 kB / 0.561 GB, free: 7.422 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.1499, allocations: 31.72 kB / 0.561 GB, free: 7.391 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003911/0.1503, allocations: 139.4 kB / 0.5612 GB, free: 7.254 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/0.1508, allocations: 207.5 kB / 0.5614 GB, free: 7.051 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003438/0.1512, allocations: 367 kB / 0.5617 GB, free: 6.691 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007618/0.1519, allocations: 346.8 kB / 0.5621 GB, free: 6.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.1521, allocations: 99.67 kB / 0.5622 GB, free: 6.223 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.1524, allocations: 151.5 kB / 0.5623 GB, free: 6.074 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.1524, allocations: 12 kB / 0.5623 GB, free: 6.062 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003996/0.1528, allocations: 255.7 kB / 0.5626 GB, free: 5.812 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.171e-05/0.1529, allocations: 83.77 kB / 0.5626 GB, free: 5.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.991e-05/0.153, allocations: 61.58 kB / 0.5627 GB, free: 5.664 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.1533, allocations: 351.1 kB / 0.563 GB, free: 5.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1533, allocations: 0 / 0.563 GB, free: 5.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1533, allocations: 0 / 0.563 GB, free: 5.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1533, allocations: 0 / 0.563 GB, free: 5.32 MB / 430.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.0007895/0.1541, allocations: 0.5068 MB / 0.5635 GB, free: 4.766 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1542, allocations: 15.91 kB / 0.5635 GB, free: 4.75 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.33e-05/0.1543, allocations: 62.52 kB / 0.5636 GB, free: 4.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006393/0.1549, allocations: 103.6 kB / 0.5637 GB, free: 4.578 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.1552, allocations: 251.3 kB / 0.5639 GB, free: 4.293 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.1552, allocations: 20.42 kB / 0.564 GB, free: 4.273 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/0.1553, allocations: 16 kB / 0.564 GB, free: 4.258 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005908/0.1559, allocations: 397.9 kB / 0.5643 GB, free: 3.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1559, allocations: 0 / 0.5643 GB, free: 3.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.1559, allocations: 12 kB / 0.5644 GB, free: 3.828 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-05/0.156, allocations: 27.77 kB / 0.5644 GB, free: 3.801 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006161/0.1566, allocations: 371.6 kB / 0.5647 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.1583, allocations: 1.734 MB / 0.5664 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005998/0.159, allocations: 348.8 kB / 0.5668 GB, free: 1.199 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.1593, allocations: 193.6 kB / 0.5669 GB, free: 1.004 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.1594, allocations: 85.09 kB / 0.567 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.1594, allocations: 38.56 kB / 0.5671 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of pre-optimization done (n=25): time 1.402e-06/0.1595, allocations: 0 / 0.5671 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.006281/0.1657, allocations: 2.076 MB / 0.5691 GB, free: 14.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.1658, allocations: 85.09 kB / 0.5692 GB, free: 14.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.166, allocations: 179.7 kB / 0.5693 GB, free: 14.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.166, allocations: 29.7 kB / 0.5694 GB, free: 14.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.303e-05/0.1661, allocations: 148.4 kB / 0.5695 GB, free: 14.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.865e-05/0.1662, allocations: 118.3 kB / 0.5696 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.1662, allocations: 8 kB / 0.5696 GB, free: 14.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1664, allocations: 334.8 kB / 0.57 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/0.1668, allocations: 255.8 kB / 0.5702 GB, free: 13.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/0.1673, allocations: 337.5 kB / 0.5705 GB, free: 13.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004744/0.1678, allocations: 301.2 kB / 0.5708 GB, free: 12.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1678, allocations: 0 / 0.5708 GB, free: 12.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001071/0.1689, allocations: 0.6507 MB / 0.5714 GB, free: 12.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.19e-05/0.169, allocations: 170.9 kB / 0.5716 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.169, allocations: 8 kB / 0.5716 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.169, allocations: 4 kB / 0.5716 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007722/0.1698, allocations: 151.8 kB / 0.5718 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.1698, allocations: 4 kB / 0.5718 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000341/0.1701, allocations: 55.92 kB / 0.5718 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.1702, allocations: 23.94 kB / 0.5718 GB, free: 11.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.021e-06/0.1702, allocations: 4 kB / 0.5718 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009611/0.1712, allocations: 0.5815 MB / 0.5724 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.1712, allocations: 4 kB / 0.5724 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.95e-06/0.1712, allocations: 4 kB / 0.5724 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000709/0.1719, allocations: 156 kB / 0.5726 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1719, allocations: 7.938 kB / 0.5726 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003042/0.1722, allocations: 47.94 kB / 0.5726 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.472e-05/0.1723, allocations: 23.94 kB / 0.5726 GB, free: 11.01 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001944/0.1725, allocations: 241.7 kB / 0.5729 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.217e-05/0.1726, allocations: 27.7 kB / 0.5729 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.1738, allocations: 0.6725 MB / 0.5736 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.1738, allocations: 7.984 kB / 0.5736 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1738, allocations: 0 / 0.5736 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.1739, allocations: 8.031 kB / 0.5736 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/0.1758, allocations: 1.394 MB / 0.5749 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1759, allocations: 8.25 kB / 0.5749 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005208/0.1764, allocations: 123.8 kB / 0.5751 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.1764, allocations: 11.89 kB / 0.5751 GB, free: 8.406 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.1764, allocations: 8 kB / 0.5751 GB, free: 8.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.1764, allocations: 4 kB / 0.5751 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.1764, allocations: 3.938 kB / 0.5751 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009625/0.1774, allocations: 0.7309 MB / 0.5758 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.1776, allocations: 144.8 kB / 0.5759 GB, free: 7.461 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.1776, allocations: 11.95 kB / 0.576 GB, free: 7.449 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.1779, allocations: 39.95 kB / 0.576 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/0.178, allocations: 31.89 kB / 0.576 GB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.178, allocations: 16 kB / 0.576 GB, free: 7.363 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.1782, allocations: 139.2 kB / 0.5762 GB, free: 7.227 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1782, allocations: 0 / 0.5762 GB, free: 7.227 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005752/0.1787, allocations: 144 kB / 0.5763 GB, free: 7.086 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001306/0.1801, allocations: 1.304 MB / 0.5776 GB, free: 5.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.1815, allocations: 0.8801 MB / 0.5784 GB, free: 4.852 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1815, allocations: 0 / 0.5784 GB, free: 4.852 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.182, allocations: 269.7 kB / 0.5787 GB, free: 4.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.1825, allocations: 44.81 kB / 0.5787 GB, free: 4.547 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/0.1858, allocations: 2.243 MB / 0.5809 GB, free: 2.203 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.1862, allocations: 0.7799 MB / 0.5817 GB, free: 1.398 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000498/0.1867, allocations: 166.8 kB / 0.5819 GB, free: 1.234 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.187, allocations: 83.41 kB / 0.5819 GB, free: 1.152 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.187, allocations: 0 / 0.5819 GB, free: 1.152 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2596/0.4465, allocations: 6.742 MB / 0.5885 GB, free: 31.9 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001357/0.4467, allocations: 199.7 kB / 0.5887 GB, free: 31.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/2.215, allocations: 0 / 0.5887 GB, free: 31.66 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) Environment - environmentSimulation: