Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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: translateModel(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001117, allocations: 116.6 kB / 17.09 MB, free: 5.965 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.001138/0.001138, allocations: 197.9 kB / 18.02 MB, free: 5.043 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.277/1.277, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7006/0.7006, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 66.17 kB / 0.5583 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1294, allocations: 76.19 MB / 0.6327 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004706/0.1341, allocations: 3.328 MB / 0.636 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003246/0.1374, allocations: 2.166 MB / 0.6381 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001866/0.1376, allocations: 4 kB / 0.6381 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000895/0.1385, allocations: 290.8 kB / 0.6384 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005491/0.1391, allocations: 238.9 kB / 0.6386 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007407/0.1398, allocations: 305.5 kB / 0.6389 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004496/0.1403, allocations: 390.7 kB / 0.6393 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003585/0.1406, allocations: 200.8 kB / 0.6395 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002402/0.1409, allocations: 155.4 kB / 0.6396 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/0.1412, allocations: 175.4 kB / 0.6398 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.1413, allocations: 24 kB / 0.6398 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006289/0.1419, allocations: 427.2 kB / 0.6402 GB, free: 12.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.142, allocations: 103.7 kB / 0.6403 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.1422, allocations: 135.3 kB / 0.6404 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000668/0.1428, allocations: 0.518 MB / 0.6409 GB, free: 11.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1429, allocations: 0 / 0.6409 GB, free: 11.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1429, allocations: 0 / 0.6409 GB, free: 11.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.1429, allocations: 0 / 0.6409 GB, free: 11.98 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000919/0.1438, allocations: 0.6002 MB / 0.6415 GB, free: 11.33 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1439, allocations: 16.03 kB / 0.6415 GB, free: 11.31 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008288/0.1447, allocations: 120.4 kB / 0.6417 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.145, allocations: 283.7 kB / 0.6419 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.145, allocations: 12.81 kB / 0.6419 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.1451, allocations: 24.36 kB / 0.642 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006196/0.1457, allocations: 415.9 kB / 0.6424 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1457, allocations: 4 kB / 0.6424 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.1458, allocations: 4 kB / 0.6424 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.122e-05/0.1458, allocations: 36.53 kB / 0.6424 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006212/0.1465, allocations: 353.9 kB / 0.6427 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/0.1488, allocations: 2.042 MB / 0.6447 GB, free: 7.789 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000765/0.1496, allocations: 354.3 kB / 0.6451 GB, free: 7.426 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003762/0.15, allocations: 193.5 kB / 0.6453 GB, free: 7.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.1501, allocations: 93.03 kB / 0.6454 GB, free: 7.121 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.1501, allocations: 34.56 kB / 0.6454 GB, free: 7.078 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.1501, allocations: 0 / 0.6454 GB, free: 7.078 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.005171/0.1553, allocations: 1.583 MB / 0.6469 GB, free: 5.461 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/0.1554, allocations: 85.05 kB / 0.647 GB, free: 5.359 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.1557, allocations: 233 kB / 0.6472 GB, free: 5.125 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.1557, allocations: 29.73 kB / 0.6473 GB, free: 5.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/0.1559, allocations: 188 kB / 0.6474 GB, free: 4.898 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.156, allocations: 118.3 kB / 0.6476 GB, free: 4.781 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.1561, allocations: 82.03 kB / 0.6476 GB, free: 4.695 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1563, allocations: 334.8 kB / 0.648 GB, free: 4.359 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003963/0.1567, allocations: 194.5 kB / 0.6481 GB, free: 4.164 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004495/0.1571, allocations: 309 kB / 0.6484 GB, free: 3.816 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008334/0.158, allocations: 0.5124 MB / 0.6489 GB, free: 3.262 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.158, allocations: 4 kB / 0.6489 GB, free: 3.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001265/0.1592, allocations: 0.6602 MB / 0.6496 GB, free: 2.578 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1593, allocations: 4 kB / 0.6496 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.1593, allocations: 4 kB / 0.6496 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005036/0.1598, allocations: 151.4 kB / 0.6497 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/0.1602, allocations: 91.88 kB / 0.6498 GB, free: 2.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00302/0.1632, allocations: 4.17 MB / 0.6539 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.1636, allocations: 31.88 kB / 0.6539 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.1636, allocations: 19.98 kB / 0.6539 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000491/0.1641, allocations: 316.9 kB / 0.6542 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004395/0.1646, allocations: 305.2 kB / 0.6545 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008164/0.1654, allocations: 0.5076 MB / 0.655 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.625e-06/0.1654, allocations: 3.938 kB / 0.655 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001263/0.1667, allocations: 0.6448 MB / 0.6557 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.1667, allocations: 13.47 kB / 0.6557 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1667, allocations: 7.984 kB / 0.6557 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004108/0.1671, allocations: 139.3 kB / 0.6558 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003756/0.1675, allocations: 103.8 kB / 0.6559 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/0.1704, allocations: 4.17 MB / 0.66 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.1707, allocations: 44.05 kB / 0.66 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.1708, allocations: 12 kB / 0.66 GB, free: 7.066 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.1709, allocations: 207.6 kB / 0.6602 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.441e-05/0.171, allocations: 31.62 kB / 0.6603 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.1722, allocations: 0.6087 MB / 0.6609 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.1723, allocations: 4 kB / 0.6609 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1723, allocations: 0 / 0.6609 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1723, allocations: 0 / 0.6609 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.1744, allocations: 1.324 MB / 0.6622 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.1744, allocations: 7.938 kB / 0.6622 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002575/0.1747, allocations: 55.91 kB / 0.6622 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003981/0.1751, allocations: 155.5 kB / 0.6624 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.1752, allocations: 12 kB / 0.6624 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002752/0.1779, allocations: 4.19 MB / 0.6665 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1779, allocations: 3.938 kB / 0.6665 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.1791, allocations: 0.7624 MB / 0.6672 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.1793, allocations: 140.7 kB / 0.6674 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.1793, allocations: 11.98 kB / 0.6674 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.1796, allocations: 31.97 kB / 0.6674 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.1797, allocations: 31.89 kB / 0.6674 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.1797, allocations: 19.94 kB / 0.6674 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001492/0.1799, allocations: 168.5 kB / 0.6676 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.91e-07/0.1799, allocations: 4 kB / 0.6676 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007326/0.1806, allocations: 164 kB / 0.6678 GB, free: 14.61 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002091/0.1808, allocations: 135.1 kB / 0.6679 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002023/0.1829, allocations: 1.242 MB / 0.6691 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1829, allocations: 0 / 0.6691 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000693/0.1836, allocations: 486.1 kB / 0.6696 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.1841, allocations: 61.77 kB / 0.6696 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.1853, allocations: 0.7895 MB / 0.6704 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.1857, allocations: 0.8122 MB / 0.6712 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.062e-05/0.1858, allocations: 27.44 kB / 0.6712 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1859, allocations: 0 / 0.6712 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.01105/0.1969, allocations: 9.123 MB / 0.6801 GB, free: 1.777 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1)