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.0009341/0.0009342, allocations: 110 kB / 16.41 MB, free: 6.488 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.001031/0.001031, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.185/1.185, 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.6484/0.6484, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 67.22 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1245, allocations: 76.18 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003807/0.1283, allocations: 2.725 MB / 0.6342 GB, free: 2.18 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002772/0.1311, allocations: 2.092 MB / 0.6363 GB, free: 76 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.057e-05/0.1312, allocations: 7.938 kB / 0.6363 GB, free: 68 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007136/0.1319, allocations: 219.1 kB / 0.6365 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004064/0.1323, allocations: 223.1 kB / 0.6367 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.1329, allocations: 283.1 kB / 0.637 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003104/0.1332, allocations: 311.1 kB / 0.6373 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002747/0.1335, allocations: 160.8 kB / 0.6374 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1336, allocations: 127.5 kB / 0.6376 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002643/0.1339, allocations: 151.5 kB / 0.6377 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.134, allocations: 24 kB / 0.6377 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004919/0.1344, allocations: 415.3 kB / 0.6381 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.781e-05/0.1345, allocations: 95.77 kB / 0.6382 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.1347, allocations: 111.5 kB / 0.6383 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005016/0.1352, allocations: 491.5 kB / 0.6388 GB, free: 13.51 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1352, allocations: 0 / 0.6388 GB, free: 13.51 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1352, allocations: 0 / 0.6388 GB, free: 13.51 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1352, allocations: 0 / 0.6388 GB, free: 13.51 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.0007969/0.136, allocations: 0.5614 MB / 0.6393 GB, free: 12.9 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.136, allocations: 8.031 kB / 0.6393 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.88e-05/0.1361, allocations: 62.66 kB / 0.6394 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008568/0.137, allocations: 132.5 kB / 0.6395 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.1373, allocations: 260.5 kB / 0.6398 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.1373, allocations: 16.81 kB / 0.6398 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.212e-05/0.1373, allocations: 23.92 kB / 0.6398 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006226/0.138, allocations: 389.9 kB / 0.6402 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.138, allocations: 8 kB / 0.6402 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.138, allocations: 8 kB / 0.6402 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.139e-05/0.1381, allocations: 19.98 kB / 0.6402 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006733/0.1388, allocations: 383.4 kB / 0.6406 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.1405, allocations: 1.738 MB / 0.6423 GB, free: 9.652 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006758/0.1412, allocations: 352.9 kB / 0.6426 GB, free: 9.289 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/0.1416, allocations: 190.6 kB / 0.6428 GB, free: 9.098 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001289/0.1417, allocations: 89.08 kB / 0.6429 GB, free: 8.992 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.1417, allocations: 50.36 kB / 0.6429 GB, free: 8.934 MB / 494.1 MB Notification: Performance of pre-optimization done (n=25): time 1.382e-06/0.1417, allocations: 0 / 0.6429 GB, free: 8.934 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.007853/0.1496, allocations: 2.047 MB / 0.6449 GB, free: 6.879 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.1497, allocations: 81.11 kB / 0.645 GB, free: 6.781 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.1499, allocations: 182.9 kB / 0.6452 GB, free: 6.59 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.1499, allocations: 29.7 kB / 0.6452 GB, free: 6.555 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.811e-05/0.15, allocations: 160.2 kB / 0.6454 GB, free: 6.395 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.396e-05/0.1501, allocations: 114.3 kB / 0.6455 GB, free: 6.281 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.1503, allocations: 81.59 kB / 0.6456 GB, free: 6.195 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1504, allocations: 330.8 kB / 0.6459 GB, free: 5.863 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005283/0.151, allocations: 276.6 kB / 0.6461 GB, free: 5.59 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005861/0.1515, allocations: 333.5 kB / 0.6465 GB, free: 5.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.1527, allocations: 0.6345 MB / 0.6471 GB, free: 4.566 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1527, allocations: 0 / 0.6471 GB, free: 4.566 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001241/0.1539, allocations: 0.6583 MB / 0.6477 GB, free: 3.902 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1539, allocations: 8 kB / 0.6477 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.154, allocations: 0 / 0.6477 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.154, allocations: 4 kB / 0.6477 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008835/0.1549, allocations: 156 kB / 0.6479 GB, free: 3.738 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.1549, allocations: 7.938 kB / 0.6479 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004136/0.1553, allocations: 55.92 kB / 0.6479 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/0.1554, allocations: 19.98 kB / 0.648 GB, free: 3.656 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005843/0.156, allocations: 371.9 kB / 0.6483 GB, free: 3.289 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005415/0.1565, allocations: 337.8 kB / 0.6486 GB, free: 2.926 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009897/0.1575, allocations: 0.5862 MB / 0.6492 GB, free: 2.309 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.552e-06/0.1575, allocations: 4 kB / 0.6492 GB, free: 2.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001187/0.1587, allocations: 0.6455 MB / 0.6498 GB, free: 1.652 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.1587, allocations: 4 kB / 0.6498 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.1587, allocations: 4 kB / 0.6498 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.693e-06/0.1588, allocations: 8 kB / 0.6499 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007945/0.1596, allocations: 143.8 kB / 0.65 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.087e-06/0.1596, allocations: 4 kB / 0.65 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/0.16, allocations: 60.11 kB / 0.6501 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.16, allocations: 19.98 kB / 0.6501 GB, free: 1.414 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.0001515/0.1602, allocations: 204.1 kB / 0.6503 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.627e-05/0.1603, allocations: 15.81 kB / 0.6503 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.1616, allocations: 0.6879 MB / 0.651 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.1616, allocations: 7.984 kB / 0.651 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.1616, allocations: 4 kB / 0.651 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1616, allocations: 0 / 0.651 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/0.1636, allocations: 1.371 MB / 0.6523 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1636, allocations: 4 kB / 0.6523 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005223/0.1641, allocations: 128 kB / 0.6524 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.1641, allocations: 4 kB / 0.6524 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.1642, allocations: 11.94 kB / 0.6524 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1642, allocations: 8 kB / 0.6525 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.1642, allocations: 4 kB / 0.6525 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009277/0.1651, allocations: 0.7068 MB / 0.6531 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.1653, allocations: 140.8 kB / 0.6533 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.1653, allocations: 11.94 kB / 0.6533 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/0.1657, allocations: 43.94 kB / 0.6533 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.78e-05/0.1658, allocations: 31.91 kB / 0.6534 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.1658, allocations: 8 kB / 0.6534 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001538/0.166, allocations: 156.3 kB / 0.6535 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.166, allocations: 4 kB / 0.6535 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006069/0.1666, allocations: 144 kB / 0.6537 GB, free: 13.56 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.001249/0.1678, allocations: 1.293 MB / 0.6549 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001531/0.1694, allocations: 0.8678 MB / 0.6558 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1694, allocations: 4 kB / 0.6558 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004056/0.1698, allocations: 252.7 kB / 0.656 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.1703, allocations: 53.11 kB / 0.6561 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005039/0.1753, allocations: 3.876 MB / 0.6599 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.1757, allocations: 0.7838 MB / 0.6606 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004589/0.1761, allocations: 178.8 kB / 0.6608 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.1763, allocations: 91.33 kB / 0.6609 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1763, allocations: 0 / 0.6609 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02243/0.1988, allocations: 7.706 MB / 0.6684 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.234/7.433, allocations: 18.55 kB / 0.6684 GB, free: 14.33 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)