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.001327/0.001327, allocations: 102.8 kB / 16.4 MB, free: 6.492 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.001478/0.001478, allocations: 195.8 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.434/1.434, 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.7503/0.7503, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 64.09 kB / 0.5572 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1481, allocations: 76.18 MB / 0.6316 GB, free: 4.949 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004385/0.1526, allocations: 2.732 MB / 0.6342 GB, free: 2.199 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003374/0.156, allocations: 2.089 MB / 0.6363 GB, free: 100 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.1562, allocations: 7.938 kB / 0.6363 GB, free: 92 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009662/0.1573, allocations: 231 kB / 0.6365 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006978/0.158, allocations: 219.1 kB / 0.6367 GB, free: 15.65 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009238/0.1589, allocations: 282 kB / 0.637 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004823/0.1594, allocations: 311.1 kB / 0.6373 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000348/0.1598, allocations: 160.8 kB / 0.6374 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.16, allocations: 127.5 kB / 0.6376 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003365/0.1604, allocations: 151.5 kB / 0.6377 GB, free: 14.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.958e-05/0.1604, allocations: 20 kB / 0.6377 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007202/0.1612, allocations: 415.3 kB / 0.6381 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.1613, allocations: 91.78 kB / 0.6382 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.1614, allocations: 119.4 kB / 0.6383 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008417/0.1623, allocations: 487.6 kB / 0.6388 GB, free: 13.53 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1623, allocations: 0 / 0.6388 GB, free: 13.53 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1623, allocations: 0 / 0.6388 GB, free: 13.53 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.1623, allocations: 0 / 0.6388 GB, free: 13.53 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.001148/0.1635, allocations: 0.5614 MB / 0.6393 GB, free: 12.92 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1635, allocations: 12.03 kB / 0.6393 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.034e-05/0.1636, allocations: 58.67 kB / 0.6394 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.1647, allocations: 132.5 kB / 0.6395 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.1651, allocations: 261.2 kB / 0.6398 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1651, allocations: 12.81 kB / 0.6398 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-05/0.1652, allocations: 23.94 kB / 0.6398 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007024/0.1659, allocations: 393.9 kB / 0.6402 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1659, allocations: 0 / 0.6402 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.326e-05/0.166, allocations: 8 kB / 0.6402 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.232e-05/0.166, allocations: 23.98 kB / 0.6402 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007832/0.1668, allocations: 383.4 kB / 0.6406 GB, free: 11.56 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002264/0.1691, allocations: 1.741 MB / 0.6423 GB, free: 9.676 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008959/0.17, allocations: 353.5 kB / 0.6426 GB, free: 9.312 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.1704, allocations: 186 kB / 0.6428 GB, free: 9.125 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001624/0.1705, allocations: 97.09 kB / 0.6429 GB, free: 9.012 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.1706, allocations: 38.42 kB / 0.6429 GB, free: 8.965 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 1.553e-06/0.1706, allocations: 0 / 0.6429 GB, free: 8.965 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.009091/0.1797, allocations: 2.053 MB / 0.6449 GB, free: 6.906 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.1798, allocations: 85.05 kB / 0.645 GB, free: 6.805 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.18, allocations: 182.9 kB / 0.6452 GB, free: 6.613 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.18, allocations: 33.7 kB / 0.6452 GB, free: 6.574 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.1801, allocations: 148.3 kB / 0.6454 GB, free: 6.426 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.1803, allocations: 122.3 kB / 0.6455 GB, free: 6.305 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.1804, allocations: 77.59 kB / 0.6456 GB, free: 6.223 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1806, allocations: 334.8 kB / 0.6459 GB, free: 5.887 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005706/0.1811, allocations: 276.6 kB / 0.6461 GB, free: 5.613 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006119/0.1818, allocations: 341.5 kB / 0.6465 GB, free: 5.246 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.183, allocations: 0.6306 MB / 0.6471 GB, free: 4.586 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.183, allocations: 0 / 0.6471 GB, free: 4.586 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001363/0.1844, allocations: 0.6582 MB / 0.6477 GB, free: 3.922 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.1844, allocations: 4 kB / 0.6477 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.1844, allocations: 4 kB / 0.6477 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.1845, allocations: 4.281 kB / 0.6477 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009597/0.1854, allocations: 159.8 kB / 0.6479 GB, free: 3.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.1855, allocations: 7.938 kB / 0.6479 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004771/0.1859, allocations: 51.92 kB / 0.6479 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/0.186, allocations: 19.98 kB / 0.648 GB, free: 3.676 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000639/0.1867, allocations: 375.9 kB / 0.6483 GB, free: 3.305 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005964/0.1873, allocations: 337.8 kB / 0.6486 GB, free: 2.941 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001106/0.1884, allocations: 0.5901 MB / 0.6492 GB, free: 2.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.216e-06/0.1884, allocations: 0 / 0.6492 GB, free: 2.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001359/0.1898, allocations: 0.6416 MB / 0.6498 GB, free: 1.672 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1898, allocations: 4 kB / 0.6498 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1898, allocations: 4 kB / 0.6499 GB, free: 1.664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/0.1898, allocations: 4 kB / 0.6499 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009149/0.1907, allocations: 152 kB / 0.65 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.1908, allocations: 4 kB / 0.65 GB, free: 1.508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000486/0.1912, allocations: 55.92 kB / 0.6501 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.455e-05/0.1913, allocations: 19.92 kB / 0.6501 GB, free: 1.434 MB / 494.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.0001648/0.1915, allocations: 204.1 kB / 0.6503 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.181e-05/0.1916, allocations: 19.81 kB / 0.6503 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.193, allocations: 0.6841 MB / 0.651 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.193, allocations: 12.02 kB / 0.651 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.193, allocations: 0 / 0.651 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.1931, allocations: 0 / 0.651 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002313/0.1954, allocations: 1.371 MB / 0.6523 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1954, allocations: 0 / 0.6523 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005953/0.196, allocations: 123.8 kB / 0.6524 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.196, allocations: 4 kB / 0.6524 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.1961, allocations: 11.94 kB / 0.6524 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.1961, allocations: 4 kB / 0.6524 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.1961, allocations: 4 kB / 0.6525 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.1971, allocations: 0.7108 MB / 0.6531 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.1973, allocations: 140.8 kB / 0.6533 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.64e-05/0.1974, allocations: 11.94 kB / 0.6533 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003818/0.1978, allocations: 39.94 kB / 0.6533 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.186e-05/0.1979, allocations: 31.91 kB / 0.6534 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.008e-05/0.1979, allocations: 19.94 kB / 0.6534 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001878/0.1981, allocations: 152.3 kB / 0.6535 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.1981, allocations: 0 / 0.6535 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007321/0.1989, allocations: 144 kB / 0.6537 GB, free: 13.59 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.001479/0.2004, allocations: 1.291 MB / 0.6549 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001845/0.2022, allocations: 0.8754 MB / 0.6558 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2022, allocations: 0 / 0.6558 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004499/0.2027, allocations: 260.8 kB / 0.656 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000576/0.2033, allocations: 43.25 kB / 0.6561 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005985/0.2093, allocations: 3.882 MB / 0.6599 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.2097, allocations: 0.776 MB / 0.6606 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005459/0.2102, allocations: 178.8 kB / 0.6608 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.2105, allocations: 87.39 kB / 0.6609 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of SimCode: time 9.11e-07/0.2105, allocations: 0 / 0.6609 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02987/0.2404, allocations: 7.838 MB / 0.6685 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.906/8.146, allocations: 11.94 kB / 0.6685 GB, free: 14.23 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 & /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)