Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.PowerLinearized.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001521/0.00152, allocations: 187.6 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.769/0.769, allocations: 82.93 MB / 99.42 MB, free: 3.406 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.4 MB / 325.4 MB, free: 3.344 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001061/0.001061, allocations: 90.67 kB / 393.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004558/0.0004561, allocations: 12 kB / 471.5 MB, free: 66.58 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1406, allocations: 67.45 MB / 0.5264 GB, free: 15.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002752/0.1434, allocations: 1.14 MB / 0.5275 GB, free: 13.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003685/0.1438, allocations: 79.86 kB / 0.5275 GB, free: 13.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.1439, allocations: 0 / 0.5275 GB, free: 13.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 2.154e-05/0.1439, allocations: 3.938 kB / 0.5275 GB, free: 13.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.319e-05/0.144, allocations: 7.984 kB / 0.5276 GB, free: 13.85 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.1442, allocations: 11.92 kB / 0.5276 GB, free: 13.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 7.915e-05/0.1443, allocations: 23.97 kB / 0.5276 GB, free: 13.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.997e-05/0.1444, allocations: 0 / 0.5276 GB, free: 13.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.205e-05/0.1445, allocations: 11.94 kB / 0.5276 GB, free: 13.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.048e-05/0.1446, allocations: 7.984 kB / 0.5276 GB, free: 13.8 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.1446, allocations: 0 / 0.5276 GB, free: 13.8 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.965e-05/0.1447, allocations: 15.98 kB / 0.5276 GB, free: 13.78 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.1448, allocations: 3.938 kB / 0.5276 GB, free: 13.78 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.1448, allocations: 33.7 kB / 0.5277 GB, free: 13.74 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.145, allocations: 23.94 kB / 0.5277 GB, free: 13.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.651e-06/0.145, allocations: 0 / 0.5277 GB, free: 13.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.789e-06/0.145, allocations: 4 kB / 0.5277 GB, free: 13.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.851e-06/0.145, allocations: 0 / 0.5277 GB, free: 13.71 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006497/0.1457, allocations: 347.5 kB / 0.528 GB, free: 13.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.1458, allocations: 8.031 kB / 0.528 GB, free: 13.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002938/0.1461, allocations: 15.98 kB / 0.528 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001907/0.1463, allocations: 163 kB / 0.5282 GB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.1464, allocations: 4 kB / 0.5282 GB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.1464, allocations: 4 kB / 0.5282 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.1468, allocations: 69.66 kB / 0.5283 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.1468, allocations: 3.938 kB / 0.5283 GB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.1469, allocations: 3.953 kB / 0.5283 GB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.209e-06/0.1469, allocations: 0 / 0.5283 GB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004936/0.1474, allocations: 59.95 kB / 0.5283 GB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006947/0.1481, allocations: 269 kB / 0.5286 GB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.1485, allocations: 58.55 kB / 0.5286 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.1486, allocations: 0 / 0.5286 GB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.1487, allocations: 42.45 kB / 0.5287 GB, free: 12.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 6.154e-06/0.1487, allocations: 3.938 kB / 0.5287 GB, free: 12.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0009163/0.1496, allocations: 129.7 kB / 0.5288 GB, free: 12.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.323e-05/0.1497, allocations: 51.41 kB / 0.5289 GB, free: 12.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.1499, allocations: 105.8 kB / 0.529 GB, free: 12.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.1499, allocations: 25.7 kB / 0.529 GB, free: 12.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/0.15, allocations: 84.14 kB / 0.5291 GB, free: 12.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.1501, allocations: 9.438 kB / 0.5291 GB, free: 12.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.382e-06/0.1501, allocations: 4.031 kB / 0.5291 GB, free: 12.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.1503, allocations: 322.8 kB / 0.5294 GB, free: 11.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.1506, allocations: 23.98 kB / 0.5294 GB, free: 11.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.1509, allocations: 35.97 kB / 0.5294 GB, free: 11.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.1511, allocations: 35.91 kB / 0.5295 GB, free: 11.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.655e-06/0.1512, allocations: 0 / 0.5295 GB, free: 11.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006197/0.1518, allocations: 97.7 kB / 0.5296 GB, free: 11.56 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.1519, allocations: 4.781 kB / 0.5296 GB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.1519, allocations: 3.953 kB / 0.5296 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.1519, allocations: 0 / 0.5296 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.1522, allocations: 16.23 kB / 0.5296 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.77e-06/0.1522, allocations: 4.031 kB / 0.5296 GB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.1524, allocations: 19.89 kB / 0.5296 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.1524, allocations: 0 / 0.5296 GB, free: 11.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.1526, allocations: 113.8 kB / 0.5297 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.862e-05/0.1527, allocations: 0 / 0.5297 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.208e-05/0.1527, allocations: 7.516 kB / 0.5297 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.1527, allocations: 7.953 kB / 0.5297 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.837e-06/0.1528, allocations: 4 kB / 0.5297 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.766e-06/0.1528, allocations: 0 / 0.5297 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003692/0.1532, allocations: 161.7 kB / 0.5299 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.793e-06/0.1532, allocations: 4 kB / 0.5299 GB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.1534, allocations: 15.92 kB / 0.5299 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.1534, allocations: 0 / 0.5299 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.1535, allocations: 0 / 0.5299 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.1535, allocations: 4 kB / 0.5299 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.536e-06/0.1535, allocations: 3.953 kB / 0.5299 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006639/0.1542, allocations: 191.5 kB / 0.5301 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.293e-05/0.1543, allocations: 81.02 kB / 0.5302 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.1543, allocations: 0 / 0.5302 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.1546, allocations: 15.92 kB / 0.5302 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.815e-05/0.1547, allocations: 7.953 kB / 0.5302 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1547, allocations: 0 / 0.5302 GB, free: 10.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.904e-05/0.1548, allocations: 87.27 kB / 0.5303 GB, free: 10.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.04e-06/0.1549, allocations: 0 / 0.5303 GB, free: 10.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005585/0.1554, allocations: 7.938 kB / 0.5303 GB, free: 10.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001808/0.1557, allocations: 99.28 kB / 0.5304 GB, free: 10.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005731/0.1562, allocations: 71.89 kB / 0.5305 GB, free: 10.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.989e-06/0.1563, allocations: 0 / 0.5305 GB, free: 10.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00027/0.1566, allocations: 31.97 kB / 0.5305 GB, free: 10.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.1569, allocations: 4 kB / 0.5305 GB, free: 10.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005683/0.1575, allocations: 132.8 kB / 0.5306 GB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.158, allocations: 0.677 MB / 0.5313 GB, free: 9.652 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.167e-05/0.1581, allocations: 4 kB / 0.5313 GB, free: 9.648 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.968e-05/0.1582, allocations: 7.438 kB / 0.5313 GB, free: 9.641 MB / 378.7 MB Notification: Performance of SimCode: time 1.843e-06/0.1582, allocations: 4 kB / 0.5313 GB, free: 9.637 MB / 378.7 MB Notification: Performance of Templates: time 0.00438/0.1626, allocations: 0.4893 MB / 0.5318 GB, free: 9.152 MB / 378.7 MB