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.001153/0.001153, allocations: 100.1 kB / 15.88 MB, free: 12 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.001126/0.001126, allocations: 204.9 kB / 16.79 MB, free: 6.84 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.174/1.174, allocations: 222.9 MB / 240.5 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6103/0.6103, allocations: 115.3 MB / 406 MB, free: 2.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 64.38 kB / 493 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1191, allocations: 76.19 MB / 0.5559 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003861/0.123, allocations: 2.77 MB / 0.5586 GB, free: 7.957 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002782/0.1258, allocations: 2.034 MB / 0.5606 GB, free: 5.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.126, allocations: 0 / 0.5606 GB, free: 5.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006743/0.1267, allocations: 215.3 kB / 0.5608 GB, free: 5.699 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003915/0.1271, allocations: 183.3 kB / 0.5609 GB, free: 5.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00053/0.1276, allocations: 242.7 kB / 0.5612 GB, free: 5.285 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003793/0.128, allocations: 454.8 kB / 0.5616 GB, free: 4.84 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003129/0.1283, allocations: 162.2 kB / 0.5618 GB, free: 4.684 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.1285, allocations: 103.6 kB / 0.5619 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.1287, allocations: 159.4 kB / 0.562 GB, free: 4.426 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.1288, allocations: 12 kB / 0.562 GB, free: 4.414 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005695/0.1293, allocations: 447.2 kB / 0.5624 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.792e-05/0.1294, allocations: 95.7 kB / 0.5625 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.1296, allocations: 107.4 kB / 0.5626 GB, free: 3.777 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000573/0.1301, allocations: 478.6 kB / 0.5631 GB, free: 3.309 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.1302, allocations: 0 / 0.5631 GB, free: 3.309 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1302, allocations: 4 kB / 0.5631 GB, free: 3.305 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1302, allocations: 4 kB / 0.5631 GB, free: 3.301 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.000914/0.1311, allocations: 0.5498 MB / 0.5636 GB, free: 2.703 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1311, allocations: 12.03 kB / 0.5636 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.495e-05/0.1312, allocations: 58.67 kB / 0.5637 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007138/0.1319, allocations: 108.5 kB / 0.5638 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.1322, allocations: 248.5 kB / 0.564 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.1322, allocations: 20.81 kB / 0.5641 GB, free: 2.219 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.1323, allocations: 19.94 kB / 0.5641 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006115/0.1329, allocations: 381.9 kB / 0.5644 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1329, allocations: 3.938 kB / 0.5645 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.133, allocations: 12 kB / 0.5645 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/0.133, allocations: 31.75 kB / 0.5645 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000596/0.1336, allocations: 359.6 kB / 0.5648 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.1354, allocations: 1.734 MB / 0.5665 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006321/0.1361, allocations: 339 kB / 0.5669 GB, free: 15.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.1364, allocations: 181.6 kB / 0.567 GB, free: 14.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.1365, allocations: 93.09 kB / 0.5671 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.1365, allocations: 34.56 kB / 0.5671 GB, free: 14.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=25): time 2.675e-06/0.1365, allocations: 3.938 kB / 0.5671 GB, free: 14.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.007094/0.1436, allocations: 1.917 MB / 0.569 GB, free: 12.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.1437, allocations: 85.11 kB / 0.5691 GB, free: 12.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1438, allocations: 174.7 kB / 0.5693 GB, free: 12.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.1439, allocations: 33.7 kB / 0.5693 GB, free: 12.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.454e-05/0.144, allocations: 148.3 kB / 0.5694 GB, free: 12.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.296e-05/0.1441, allocations: 122.3 kB / 0.5696 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.1442, allocations: 77.59 kB / 0.5696 GB, free: 12.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.75e-05/0.1443, allocations: 338.8 kB / 0.57 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/0.1448, allocations: 252.7 kB / 0.5702 GB, free: 11.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004734/0.1452, allocations: 334.2 kB / 0.5705 GB, free: 11.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009419/0.1462, allocations: 0.6033 MB / 0.5711 GB, free: 10.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1462, allocations: 0 / 0.5711 GB, free: 10.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001107/0.1473, allocations: 0.6309 MB / 0.5717 GB, free: 10.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.1473, allocations: 11.98 kB / 0.5717 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1473, allocations: 0 / 0.5717 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1474, allocations: 4 kB / 0.5717 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008411/0.1482, allocations: 148.1 kB / 0.5719 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.1482, allocations: 11.92 kB / 0.5719 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.1486, allocations: 51.94 kB / 0.5719 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.1487, allocations: 15.98 kB / 0.572 GB, free: 9.781 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005179/0.1492, allocations: 356 kB / 0.5723 GB, free: 9.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004736/0.1497, allocations: 325.9 kB / 0.5726 GB, free: 9.078 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008862/0.1506, allocations: 0.5627 MB / 0.5732 GB, free: 8.484 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-06/0.1506, allocations: 11.94 kB / 0.5732 GB, free: 8.473 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001042/0.1516, allocations: 0.6142 MB / 0.5738 GB, free: 7.852 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.1516, allocations: 4.281 kB / 0.5738 GB, free: 7.848 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1517, allocations: 8 kB / 0.5738 GB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.309e-06/0.1517, allocations: 4 kB / 0.5738 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007598/0.1524, allocations: 143.8 kB / 0.5739 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1524, allocations: 7.984 kB / 0.5739 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000358/0.1528, allocations: 47.94 kB / 0.574 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.1528, allocations: 15.98 kB / 0.574 GB, free: 7.625 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.153, allocations: 213.3 kB / 0.5742 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.682e-05/0.1531, allocations: 19.81 kB / 0.5742 GB, free: 7.391 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.1543, allocations: 0.6646 MB / 0.5749 GB, free: 6.719 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.1543, allocations: 4 kB / 0.5749 GB, free: 6.715 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1543, allocations: 0 / 0.5749 GB, free: 6.715 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1543, allocations: 4 kB / 0.5749 GB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.1563, allocations: 1.359 MB / 0.5762 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1563, allocations: 0 / 0.5762 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005537/0.1568, allocations: 124.1 kB / 0.5763 GB, free: 5.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1568, allocations: 7.938 kB / 0.5763 GB, free: 5.125 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.1569, allocations: 15.92 kB / 0.5763 GB, free: 5.109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.1569, allocations: 4 kB / 0.5763 GB, free: 5.105 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1569, allocations: 4 kB / 0.5763 GB, free: 5.102 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009114/0.1578, allocations: 0.7151 MB / 0.577 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.1579, allocations: 144.7 kB / 0.5772 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/0.158, allocations: 11.94 kB / 0.5772 GB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003137/0.1583, allocations: 35.95 kB / 0.5772 GB, free: 4.141 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.806e-05/0.1584, allocations: 35.92 kB / 0.5773 GB, free: 4.105 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.1584, allocations: 12 kB / 0.5773 GB, free: 4.094 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.1585, allocations: 139.2 kB / 0.5774 GB, free: 3.957 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1585, allocations: 4 kB / 0.5774 GB, free: 3.953 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005632/0.1591, allocations: 144 kB / 0.5775 GB, free: 3.812 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 (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.001215/0.1603, allocations: 1.286 MB / 0.5788 GB, free: 2.477 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.1617, allocations: 0.8383 MB / 0.5796 GB, free: 1.641 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1617, allocations: 4.188 kB / 0.5796 GB, free: 1.637 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004146/0.1622, allocations: 256.2 kB / 0.5799 GB, free: 1.387 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004717/0.1626, allocations: 43.97 kB / 0.5799 GB, free: 1.344 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1839/0.3466, allocations: 3.88 MB / 0.5837 GB, free: 31.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001941/0.3468, allocations: 0.7836 MB / 0.5845 GB, free: 30.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005104/0.3473, allocations: 172.7 kB / 0.5846 GB, free: 30.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.3475, allocations: 82.58 kB / 0.5847 GB, free: 30.51 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3475, allocations: 0 / 0.5847 GB, free: 30.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.511/1.858, allocations: 6.88 MB / 0.5914 GB, free: 30.09 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/1.858, allocations: 209.9 kB / 0.5916 GB, free: 29.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/3.567, allocations: 3.25 kB / 0.5916 GB, free: 29.84 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/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)