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.001175/0.001175, allocations: 121.5 kB / 17.09 MB, free: 6.012 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.001393/0.001393, allocations: 192.7 kB / 18.02 MB, free: 5.094 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.34/1.34, allocations: 222.9 MB / 241.7 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.7595/0.7595, allocations: 115.3 MB / 407.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 62.14 kB / 0.5583 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1239, allocations: 76.18 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004723/0.1286, allocations: 3.338 MB / 0.636 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003213/0.1319, allocations: 2.162 MB / 0.6381 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.132, allocations: 4 kB / 0.6381 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009007/0.1329, allocations: 301.3 kB / 0.6384 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004636/0.1334, allocations: 230.9 kB / 0.6386 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006596/0.1341, allocations: 299.2 kB / 0.6389 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004133/0.1345, allocations: 386.7 kB / 0.6393 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003396/0.1349, allocations: 204.7 kB / 0.6395 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.1351, allocations: 151.4 kB / 0.6396 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002944/0.1354, allocations: 179.3 kB / 0.6398 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.362e-05/0.1354, allocations: 20 kB / 0.6398 GB, free: 13.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006244/0.1361, allocations: 431.1 kB / 0.6402 GB, free: 12.72 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.803e-05/0.1362, allocations: 95.72 kB / 0.6403 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.1363, allocations: 143.3 kB / 0.6404 GB, free: 12.49 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006277/0.1369, allocations: 0.5141 MB / 0.6409 GB, free: 11.97 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1369, allocations: 4 kB / 0.6409 GB, free: 11.97 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.137, allocations: 0 / 0.6409 GB, free: 11.97 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.137, allocations: 0 / 0.6409 GB, free: 11.97 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.000918/0.1379, allocations: 0.6041 MB / 0.6415 GB, free: 11.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/0.1379, allocations: 8.031 kB / 0.6415 GB, free: 11.31 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008468/0.1388, allocations: 128.4 kB / 0.6417 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.1391, allocations: 283.7 kB / 0.6419 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.1392, allocations: 12.81 kB / 0.6419 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.849e-05/0.1392, allocations: 16.38 kB / 0.642 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.1399, allocations: 423.8 kB / 0.6424 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1399, allocations: 3.984 kB / 0.6424 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.1399, allocations: 8 kB / 0.6424 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.164e-05/0.14, allocations: 36.53 kB / 0.6424 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006074/0.1406, allocations: 345.9 kB / 0.6427 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002392/0.143, allocations: 2.046 MB / 0.6447 GB, free: 7.777 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008054/0.1438, allocations: 353 kB / 0.6451 GB, free: 7.414 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003889/0.1442, allocations: 185.6 kB / 0.6453 GB, free: 7.227 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.1443, allocations: 93.09 kB / 0.6453 GB, free: 7.117 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.1444, allocations: 42.5 kB / 0.6454 GB, free: 7.066 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/0.1444, allocations: 0 / 0.6454 GB, free: 7.066 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.005141/0.1495, allocations: 1.575 MB / 0.6469 GB, free: 5.457 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.1496, allocations: 85.05 kB / 0.647 GB, free: 5.355 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.1499, allocations: 233 kB / 0.6472 GB, free: 5.121 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.1499, allocations: 33.7 kB / 0.6473 GB, free: 5.082 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.15, allocations: 180 kB / 0.6474 GB, free: 4.898 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.805e-05/0.1501, allocations: 122.3 kB / 0.6475 GB, free: 4.777 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.1503, allocations: 78.03 kB / 0.6476 GB, free: 4.695 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1504, allocations: 338.8 kB / 0.6479 GB, free: 4.355 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/0.1508, allocations: 198.5 kB / 0.6481 GB, free: 4.156 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004508/0.1512, allocations: 312.9 kB / 0.6484 GB, free: 3.805 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008756/0.1521, allocations: 0.5085 MB / 0.6489 GB, free: 3.254 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1521, allocations: 0 / 0.6489 GB, free: 3.254 MB / 494.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001342/0.1535, allocations: 0.6564 MB / 0.6496 GB, free: 2.578 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.1535, allocations: 8 kB / 0.6496 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.1535, allocations: 4 kB / 0.6496 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005455/0.1541, allocations: 147.2 kB / 0.6497 GB, free: 2.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004283/0.1545, allocations: 99.91 kB / 0.6498 GB, free: 2.312 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003109/0.1577, allocations: 4.159 MB / 0.6539 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/0.158, allocations: 44.02 kB / 0.6539 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.158, allocations: 16 kB / 0.6539 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004919/0.1585, allocations: 316.9 kB / 0.6542 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000454/0.159, allocations: 301.1 kB / 0.6545 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008362/0.1599, allocations: 0.5115 MB / 0.655 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.282e-06/0.1599, allocations: 4 kB / 0.655 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001281/0.1612, allocations: 0.6484 MB / 0.6557 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.1612, allocations: 7.938 kB / 0.6557 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1612, allocations: 8.391 kB / 0.6557 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004283/0.1616, allocations: 151.3 kB / 0.6558 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.162, allocations: 95.81 kB / 0.6559 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002862/0.1649, allocations: 4.167 MB / 0.66 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003329/0.1652, allocations: 31.97 kB / 0.66 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.1653, allocations: 15.98 kB / 0.66 GB, free: 7.07 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.0001673/0.1655, allocations: 217.4 kB / 0.6602 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.472e-05/0.1656, allocations: 27.62 kB / 0.6603 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.1669, allocations: 0.6087 MB / 0.6609 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.1669, allocations: 8 kB / 0.6609 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1669, allocations: 0 / 0.6609 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.1669, allocations: 3.984 kB / 0.6609 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.1692, allocations: 1.32 MB / 0.6622 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.1692, allocations: 4 kB / 0.6622 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.1695, allocations: 59.89 kB / 0.6622 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004051/0.1699, allocations: 147.6 kB / 0.6624 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.1699, allocations: 8 kB / 0.6624 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002921/0.1729, allocations: 4.198 MB / 0.6665 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-05/0.1729, allocations: 4.031 kB / 0.6665 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001193/0.1741, allocations: 0.7662 MB / 0.6672 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.1743, allocations: 136.7 kB / 0.6673 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.1743, allocations: 8 kB / 0.6673 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003139/0.1746, allocations: 35.95 kB / 0.6674 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.45e-05/0.1747, allocations: 31.91 kB / 0.6674 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.65e-05/0.1748, allocations: 15.94 kB / 0.6674 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000167/0.175, allocations: 176.4 kB / 0.6676 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.71e-07/0.175, allocations: 0 / 0.6676 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007597/0.1757, allocations: 168 kB / 0.6678 GB, free: 14.6 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.000209/0.1759, allocations: 139.1 kB / 0.6679 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002179/0.1781, allocations: 1.234 MB / 0.6691 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1781, allocations: 0 / 0.6691 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007395/0.1789, allocations: 494 kB / 0.6696 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005963/0.1795, allocations: 55.86 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.001294/0.1808, allocations: 0.7986 MB / 0.6704 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.1812, allocations: 0.8083 MB / 0.6712 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.1814, allocations: 31.42 kB / 0.6712 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.1814, allocations: 4 kB / 0.6712 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of Templates: time 0.01157/0.1929, allocations: 9.121 MB / 0.6801 GB, free: 1.77 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)