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.001599/0.001599, allocations: 101.5 kB / 16.4 MB, free: 6.504 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.001388/0.001389, allocations: 191.9 kB / 17.34 MB, free: 5.766 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.406/1.406, 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.8202/0.8202, allocations: 126.7 MB / 417.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 66.52 kB / 0.5735 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1522, allocations: 78.86 MB / 0.6505 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACConverter): time 0.00453/0.1568, allocations: 2.789 MB / 0.6533 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003407/0.1602, allocations: 2.096 MB / 0.6553 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.1604, allocations: 8 kB / 0.6553 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000794/0.1612, allocations: 236.9 kB / 0.6556 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004849/0.1616, allocations: 215 kB / 0.6558 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006968/0.1624, allocations: 279.2 kB / 0.656 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003773/0.1627, allocations: 307.1 kB / 0.6563 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003046/0.1631, allocations: 166.2 kB / 0.6565 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.1632, allocations: 127.5 kB / 0.6566 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000289/0.1635, allocations: 155.5 kB / 0.6567 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.1636, allocations: 16 kB / 0.6568 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006682/0.1643, allocations: 415.2 kB / 0.6572 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.1644, allocations: 95.77 kB / 0.6572 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.1645, allocations: 111.5 kB / 0.6574 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006634/0.1652, allocations: 486.3 kB / 0.6578 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1652, allocations: 0 / 0.6578 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.762e-06/0.1652, allocations: 0 / 0.6578 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.1652, allocations: 11.92 kB / 0.6578 GB, free: 12.15 MB / 0.4981 GB 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.001002/0.1662, allocations: 0.5608 MB / 0.6584 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.1663, allocations: 12.03 kB / 0.6584 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.076e-05/0.1664, allocations: 58.72 kB / 0.6584 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000983/0.1674, allocations: 132.6 kB / 0.6586 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.1677, allocations: 268.5 kB / 0.6588 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.1678, allocations: 12.81 kB / 0.6588 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.746e-05/0.1678, allocations: 19.94 kB / 0.6589 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007578/0.1686, allocations: 393.9 kB / 0.6592 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1686, allocations: 0 / 0.6592 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.1686, allocations: 11.98 kB / 0.6592 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.426e-05/0.1687, allocations: 31.95 kB / 0.6593 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007892/0.1695, allocations: 383.4 kB / 0.6596 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002202/0.1717, allocations: 1.734 MB / 0.6613 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008402/0.1726, allocations: 356.9 kB / 0.6617 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003936/0.173, allocations: 193.5 kB / 0.6619 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001623/0.1731, allocations: 89.11 kB / 0.6619 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.1732, allocations: 42.55 kB / 0.662 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.813e-06/0.1732, allocations: 0 / 0.662 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.009249/0.1824, allocations: 2.05 MB / 0.664 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.1825, allocations: 89.05 kB / 0.6641 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.1827, allocations: 182.8 kB / 0.6642 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.149e-05/0.1828, allocations: 33.7 kB / 0.6643 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1829, allocations: 148.7 kB / 0.6644 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.183, allocations: 126.9 kB / 0.6645 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.1832, allocations: 81.62 kB / 0.6646 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.1834, allocations: 334.8 kB / 0.6649 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006099/0.184, allocations: 264.7 kB / 0.6652 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006703/0.1847, allocations: 337.5 kB / 0.6655 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/0.186, allocations: 0.6267 MB / 0.6661 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.186, allocations: 0 / 0.6661 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001487/0.1875, allocations: 0.6696 MB / 0.6668 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.1875, allocations: 9.859 kB / 0.6668 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.1875, allocations: 8.281 kB / 0.6668 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.1876, allocations: 4 kB / 0.6668 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009985/0.1886, allocations: 147.8 kB / 0.6669 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.1886, allocations: 4 kB / 0.6669 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004676/0.1891, allocations: 59.92 kB / 0.667 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.432e-05/0.1891, allocations: 15.98 kB / 0.667 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006972/0.1898, allocations: 379.9 kB / 0.6674 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006391/0.1905, allocations: 341.9 kB / 0.6677 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001228/0.1917, allocations: 0.5942 MB / 0.6683 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.904e-06/0.1917, allocations: 0 / 0.6683 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001434/0.1932, allocations: 0.6299 MB / 0.6689 GB, free: 288 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1932, allocations: 11.98 kB / 0.6689 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1932, allocations: 4 kB / 0.6689 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.533e-06/0.1932, allocations: 4 kB / 0.6689 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009334/0.1941, allocations: 148 kB / 0.6691 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.1942, allocations: 7.984 kB / 0.6691 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000461/0.1946, allocations: 59.86 kB / 0.6691 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.1947, allocations: 16 kB / 0.6691 GB, free: 36 kB / 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.0001978/0.1949, allocations: 196.1 kB / 0.6693 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.863e-05/0.195, allocations: 27.86 kB / 0.6694 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.1965, allocations: 0.6921 MB / 0.67 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.1966, allocations: 4 kB / 0.67 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.1966, allocations: 0 / 0.67 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1966, allocations: 0 / 0.67 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/0.199, allocations: 1.371 MB / 0.6714 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.1991, allocations: 4 kB / 0.6714 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000595/0.1997, allocations: 123.8 kB / 0.6715 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.1997, allocations: 4 kB / 0.6715 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.1997, allocations: 15.94 kB / 0.6715 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/0.1997, allocations: 4 kB / 0.6715 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.1997, allocations: 4.25 kB / 0.6715 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.2009, allocations: 0.7151 MB / 0.6722 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.201, allocations: 140.9 kB / 0.6724 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.2011, allocations: 11.94 kB / 0.6724 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/0.2015, allocations: 43.94 kB / 0.6724 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.019e-05/0.2016, allocations: 27.97 kB / 0.6724 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.2016, allocations: 8 kB / 0.6724 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001916/0.2018, allocations: 156.3 kB / 0.6726 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2018, allocations: 0 / 0.6726 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006742/0.2025, allocations: 143.9 kB / 0.6727 GB, free: 12.19 MB / 0.5137 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.001595/0.2041, allocations: 1.287 MB / 0.674 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001903/0.206, allocations: 0.8781 MB / 0.6748 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.206, allocations: 0.75 kB / 0.6748 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004932/0.2065, allocations: 255.7 kB / 0.6751 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005372/0.2071, allocations: 45.09 kB / 0.6751 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006366/0.2135, allocations: 3.886 MB / 0.6789 GB, free: 5.609 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.2139, allocations: 0.7837 MB / 0.6797 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005447/0.2145, allocations: 178.8 kB / 0.6799 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.2147, allocations: 87.39 kB / 0.6799 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.2147, allocations: 0 / 0.6799 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.2455, allocations: 7.721 MB / 0.6875 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.215/8.461, allocations: 18.48 kB / 0.6875 GB, free: 12.96 MB / 0.5294 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)