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.000804/0.000804, allocations: 96.73 kB / 15.69 MB, free: 480 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.0009415/0.0009416, allocations: 170.1 kB / 16.57 MB, free: 6.398 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.235/1.235, allocations: 223.2 MB / 240.5 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6316/0.6316, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002791/0.0002792, allocations: 8 kB / 493 MB, free: 8.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1225, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.002558/0.1251, allocations: 2.302 MB / 0.559 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.1273, allocations: 1.837 MB / 0.5608 GB, free: 7.551 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.709e-05/0.1275, allocations: 0 / 0.5608 GB, free: 7.551 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.1276, allocations: 39.75 kB / 0.5608 GB, free: 7.512 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.1279, allocations: 119.5 kB / 0.5609 GB, free: 7.395 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004412/0.1284, allocations: 199.5 kB / 0.5611 GB, free: 7.199 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.1286, allocations: 179.6 kB / 0.5613 GB, free: 7.023 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004842/0.1291, allocations: 350.8 kB / 0.5616 GB, free: 6.648 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.1292, allocations: 91.66 kB / 0.5617 GB, free: 6.559 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001852/0.1294, allocations: 103.7 kB / 0.5618 GB, free: 6.457 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.1294, allocations: 12 kB / 0.5618 GB, free: 6.445 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003543/0.1298, allocations: 247.6 kB / 0.5621 GB, free: 6.203 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 7.702e-05/0.1299, allocations: 83.78 kB / 0.5621 GB, free: 6.121 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.1299, allocations: 57.58 kB / 0.5622 GB, free: 6.059 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.1303, allocations: 343.1 kB / 0.5625 GB, free: 5.723 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.1303, allocations: 0 / 0.5625 GB, free: 5.723 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1303, allocations: 0 / 0.5625 GB, free: 5.723 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1303, allocations: 0 / 0.5625 GB, free: 5.723 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.0007073/0.131, allocations: 0.5185 MB / 0.563 GB, free: 5.156 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1311, allocations: 8.031 kB / 0.563 GB, free: 5.148 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.949e-05/0.1311, allocations: 54.55 kB / 0.5631 GB, free: 5.086 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007165/0.1318, allocations: 123.5 kB / 0.5632 GB, free: 4.965 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.1321, allocations: 251.2 kB / 0.5634 GB, free: 4.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.1322, allocations: 16.44 kB / 0.5635 GB, free: 4.664 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.327e-05/0.1322, allocations: 20 kB / 0.5635 GB, free: 4.645 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005487/0.1328, allocations: 389.9 kB / 0.5638 GB, free: 4.234 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1328, allocations: 0 / 0.5638 GB, free: 4.234 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.1328, allocations: 11.98 kB / 0.5639 GB, free: 4.223 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.972e-05/0.1329, allocations: 31.77 kB / 0.5639 GB, free: 4.191 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005759/0.1334, allocations: 371.6 kB / 0.5642 GB, free: 3.828 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.1352, allocations: 1.734 MB / 0.5659 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005688/0.1357, allocations: 348.9 kB / 0.5663 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.1359, allocations: 89.09 kB / 0.5664 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.1359, allocations: 38.56 kB / 0.5664 GB, free: 1.438 MB / 430.1 MB Notification: Performance of pre-optimization done (n=25): time 1.352e-06/0.1359, allocations: 0 / 0.5664 GB, free: 1.438 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.006687/0.1426, allocations: 2.07 MB / 0.5684 GB, free: 15.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.1427, allocations: 85.05 kB / 0.5685 GB, free: 15.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.1428, allocations: 183.6 kB / 0.5687 GB, free: 15.07 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.1429, allocations: 33.7 kB / 0.5687 GB, free: 15.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.1429, allocations: 144.4 kB / 0.5688 GB, free: 14.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.201e-05/0.143, allocations: 122.3 kB / 0.569 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.1431, allocations: 4 kB / 0.569 GB, free: 14.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.972e-05/0.1432, allocations: 334.8 kB / 0.5693 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.1436, allocations: 255.8 kB / 0.5695 GB, free: 14.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004568/0.1441, allocations: 345.5 kB / 0.5699 GB, free: 13.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/0.1445, allocations: 289.2 kB / 0.5701 GB, free: 13.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1445, allocations: 0 / 0.5701 GB, free: 13.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00104/0.1456, allocations: 0.6586 MB / 0.5708 GB, free: 12.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002467/0.1458, allocations: 0.881 MB / 0.5716 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1459, allocations: 4 kB / 0.5716 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1459, allocations: 4 kB / 0.5716 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000818/0.1467, allocations: 151.7 kB / 0.5718 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.1467, allocations: 4 kB / 0.5718 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.1471, allocations: 67.88 kB / 0.5719 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.1472, allocations: 16 kB / 0.5719 GB, free: 11.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/0.1472, allocations: 7.984 kB / 0.5719 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009532/0.1481, allocations: 0.5814 MB / 0.5724 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.1481, allocations: 7.938 kB / 0.5724 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.558e-06/0.1482, allocations: 8.281 kB / 0.5725 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007412/0.1489, allocations: 147.8 kB / 0.5726 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1489, allocations: 4 kB / 0.5726 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.1493, allocations: 51.92 kB / 0.5727 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.208e-05/0.1493, allocations: 16 kB / 0.5727 GB, free: 10.85 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.0001826/0.1495, allocations: 249.6 kB / 0.5729 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-05/0.1496, allocations: 23.77 kB / 0.5729 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/0.1507, allocations: 0.6802 MB / 0.5736 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.1508, allocations: 4 kB / 0.5736 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1508, allocations: 4 kB / 0.5736 GB, free: 9.871 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.1508, allocations: 3.984 kB / 0.5736 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.1527, allocations: 1.39 MB / 0.575 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.1527, allocations: 4 kB / 0.575 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000522/0.1533, allocations: 123.8 kB / 0.5751 GB, free: 8.254 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.1533, allocations: 4 kB / 0.5751 GB, free: 8.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.1533, allocations: 12 kB / 0.5751 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1533, allocations: 4.25 kB / 0.5751 GB, free: 8.234 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1533, allocations: 4 kB / 0.5751 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009164/0.1542, allocations: 0.8223 MB / 0.5759 GB, free: 7.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.1544, allocations: 144.8 kB / 0.576 GB, free: 7.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.1545, allocations: 11.95 kB / 0.5761 GB, free: 7.148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.1548, allocations: 51.88 kB / 0.5761 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.28e-05/0.1549, allocations: 27.95 kB / 0.5761 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.1549, allocations: 15.98 kB / 0.5761 GB, free: 7.055 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.155, allocations: 143.2 kB / 0.5763 GB, free: 6.914 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.155, allocations: 0 / 0.5763 GB, free: 6.914 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005805/0.1556, allocations: 148 kB / 0.5764 GB, free: 6.77 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.001321/0.1569, allocations: 1.938 MB / 0.5783 GB, free: 4.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.1583, allocations: 0.8802 MB / 0.5792 GB, free: 3.871 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1583, allocations: 0 / 0.5792 GB, free: 3.871 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003984/0.1587, allocations: 273.5 kB / 0.5794 GB, free: 3.605 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.159, allocations: 38.98 kB / 0.5795 GB, free: 3.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1888/0.3479, allocations: 3.598 MB / 0.583 GB, free: 32.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.3481, allocations: 0.7861 MB / 0.5838 GB, free: 31.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005472/0.3487, allocations: 169.4 kB / 0.5839 GB, free: 31.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.3489, allocations: 83.33 kB / 0.584 GB, free: 31.71 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3489, allocations: 0 / 0.584 GB, free: 31.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.917/3.266, allocations: 6.709 MB / 0.5906 GB, free: 31.43 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/3.266, allocations: 205.5 kB / 0.5907 GB, free: 31.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.5/4.766, allocations: 0 / 0.5907 GB, free: 31.19 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: