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.0009771/0.0009772, allocations: 106 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.0009511/0.0009511, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.659/0.659, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 62.03 kB / 0.5577 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1267, allocations: 76.18 MB / 0.6321 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.00447/0.1312, allocations: 3.33 MB / 0.6353 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00308/0.1343, allocations: 2.17 MB / 0.6374 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.1345, allocations: 8 kB / 0.6375 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008472/0.1353, allocations: 289.2 kB / 0.6377 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004242/0.1358, allocations: 234.9 kB / 0.638 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006021/0.1364, allocations: 303.2 kB / 0.6382 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004039/0.1368, allocations: 382.7 kB / 0.6386 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003481/0.1372, allocations: 204.8 kB / 0.6388 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.1374, allocations: 155.4 kB / 0.639 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002913/0.1377, allocations: 179.3 kB / 0.6391 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.1377, allocations: 24 kB / 0.6391 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005746/0.1383, allocations: 431.1 kB / 0.6396 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.85e-05/0.1384, allocations: 95.72 kB / 0.6396 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.1386, allocations: 139.3 kB / 0.6398 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000634/0.1392, allocations: 0.5141 MB / 0.6403 GB, free: 11.96 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1392, allocations: 0 / 0.6403 GB, free: 11.96 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1392, allocations: 0 / 0.6403 GB, free: 11.96 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1392, allocations: 4 kB / 0.6403 GB, free: 11.96 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.0008403/0.1401, allocations: 0.608 MB / 0.6409 GB, free: 11.3 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.1401, allocations: 8.031 kB / 0.6409 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007812/0.1409, allocations: 116.4 kB / 0.641 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.1412, allocations: 279.7 kB / 0.6413 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.1412, allocations: 20.8 kB / 0.6413 GB, free: 10.85 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.1413, allocations: 24.38 kB / 0.6413 GB, free: 10.83 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006542/0.1419, allocations: 411.9 kB / 0.6417 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.142, allocations: 0 / 0.6417 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.605e-05/0.142, allocations: 23.98 kB / 0.6417 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.332e-05/0.1421, allocations: 36.53 kB / 0.6418 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005653/0.1426, allocations: 341.9 kB / 0.6421 GB, free: 10 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002217/0.1449, allocations: 2.042 MB / 0.6441 GB, free: 7.773 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007392/0.1456, allocations: 353 kB / 0.6444 GB, free: 7.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/0.146, allocations: 197.5 kB / 0.6446 GB, free: 7.211 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.352e-05/0.1461, allocations: 85.11 kB / 0.6447 GB, free: 7.109 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.1461, allocations: 38.56 kB / 0.6447 GB, free: 7.062 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.403e-06/0.1461, allocations: 0 / 0.6447 GB, free: 7.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=34): time 0.004574/0.1507, allocations: 1.587 MB / 0.6463 GB, free: 5.441 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.1508, allocations: 85.05 kB / 0.6464 GB, free: 5.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.151, allocations: 229 kB / 0.6466 GB, free: 5.109 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.151, allocations: 33.7 kB / 0.6466 GB, free: 5.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1511, allocations: 180 kB / 0.6468 GB, free: 4.887 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.884e-05/0.1512, allocations: 122.3 kB / 0.6469 GB, free: 4.766 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.1513, allocations: 82.03 kB / 0.647 GB, free: 4.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1515, allocations: 334.8 kB / 0.6473 GB, free: 4.344 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/0.1518, allocations: 198.5 kB / 0.6475 GB, free: 4.145 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004156/0.1522, allocations: 309 kB / 0.6478 GB, free: 3.797 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000784/0.153, allocations: 0.5085 MB / 0.6483 GB, free: 3.246 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1531, allocations: 4 kB / 0.6483 GB, free: 3.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001174/0.1542, allocations: 0.6524 MB / 0.6489 GB, free: 2.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1543, allocations: 8 kB / 0.6489 GB, free: 2.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.1543, allocations: 4 kB / 0.6489 GB, free: 2.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004551/0.1547, allocations: 151.4 kB / 0.6491 GB, free: 2.398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.1551, allocations: 95.81 kB / 0.6492 GB, free: 2.305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002656/0.1578, allocations: 4.166 MB / 0.6532 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.1581, allocations: 39.86 kB / 0.6533 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.1581, allocations: 20 kB / 0.6533 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004441/0.1586, allocations: 312.9 kB / 0.6536 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004004/0.159, allocations: 305.2 kB / 0.6539 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007521/0.1597, allocations: 0.5076 MB / 0.6544 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.886e-06/0.1598, allocations: 0 / 0.6544 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.00117/0.1609, allocations: 0.6526 MB / 0.655 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/0.161, allocations: 7.938 kB / 0.655 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.161, allocations: 4 kB / 0.655 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003787/0.1613, allocations: 147.3 kB / 0.6552 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.1617, allocations: 95.94 kB / 0.6553 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002692/0.1644, allocations: 4.17 MB / 0.6593 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000319/0.1648, allocations: 44.11 kB / 0.6594 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.1648, allocations: 16 kB / 0.6594 GB, free: 7.051 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.0001431/0.165, allocations: 207.6 kB / 0.6596 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.463e-05/0.165, allocations: 27.62 kB / 0.6596 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001205/0.1662, allocations: 0.6048 MB / 0.6602 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.1663, allocations: 4 kB / 0.6602 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1663, allocations: 4 kB / 0.6602 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1663, allocations: 7.984 kB / 0.6602 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.1683, allocations: 1.32 MB / 0.6615 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1683, allocations: 4 kB / 0.6615 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.1686, allocations: 60.14 kB / 0.6616 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003705/0.169, allocations: 151.3 kB / 0.6617 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.169, allocations: 12 kB / 0.6617 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002686/0.1717, allocations: 4.186 MB / 0.6658 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.1717, allocations: 7.938 kB / 0.6658 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.1728, allocations: 0.7624 MB / 0.6666 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.173, allocations: 140.7 kB / 0.6667 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.013e-05/0.173, allocations: 8 kB / 0.6667 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.1733, allocations: 27.97 kB / 0.6667 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.487e-05/0.1734, allocations: 39.89 kB / 0.6668 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.471e-05/0.1734, allocations: 15.94 kB / 0.6668 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001493/0.1736, allocations: 168.5 kB / 0.6669 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1736, allocations: 0 / 0.6669 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007007/0.1743, allocations: 164 kB / 0.6671 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.0001975/0.1745, allocations: 147.1 kB / 0.6672 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001947/0.1764, allocations: 1.234 MB / 0.6684 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1765, allocations: 1.125 kB / 0.6684 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006864/0.1771, allocations: 485.3 kB / 0.6689 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.000543/0.1777, allocations: 66.44 kB / 0.669 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.1788, allocations: 0.7514 MB / 0.6697 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.1792, allocations: 0.8122 MB / 0.6705 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002778/0.1795, allocations: 110.8 kB / 0.6706 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.197e-05/0.1796, allocations: 27.44 kB / 0.6706 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of SimCode: time 2.8e-07/0.1796, allocations: 0 / 0.6706 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of Templates: time 0.01039/0.19, allocations: 6.424 MB / 0.6769 GB, free: 4.438 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)