Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001041/0.001041, allocations: 199.8 kB / 16.14 MB, free: 6.793 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.381/1.381, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7762/0.7762, allocations: 132.2 MB / 422.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 64.5 kB / 0.5011 GB, free: 4.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4264, allocations: 80.2 MB / 0.5794 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.003723/0.4302, allocations: 1.503 MB / 0.5809 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004306/0.4306, allocations: 96.53 kB / 0.581 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.468e-05/0.4307, allocations: 0 / 0.581 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.075e-05/0.4308, allocations: 0 / 0.581 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.379e-05/0.4309, allocations: 2.172 kB / 0.581 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.4311, allocations: 17.3 kB / 0.581 GB, free: 3.422 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.403e-05/0.4312, allocations: 24.66 kB / 0.581 GB, free: 3.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.347e-05/0.4313, allocations: 8.891 kB / 0.581 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.647e-05/0.4313, allocations: 13.05 kB / 0.581 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.255e-05/0.4314, allocations: 10.94 kB / 0.5811 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.6e-05/0.4314, allocations: 4.828 kB / 0.5811 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.923e-05/0.4315, allocations: 15.59 kB / 0.5811 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.4315, allocations: 2.922 kB / 0.5811 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.4315, allocations: 11.08 kB / 0.5811 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.4317, allocations: 29.72 kB / 0.5811 GB, free: 3.367 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4317, allocations: 4.812 kB / 0.5811 GB, free: 3.363 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.4317, allocations: 0 / 0.5811 GB, free: 3.363 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.4317, allocations: 0 / 0.5811 GB, free: 3.363 MB / 430.1 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.0004508/0.4322, allocations: 341 kB / 0.5814 GB, free: 3.004 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.4322, allocations: 9.938 kB / 0.5815 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.4324, allocations: 16.75 kB / 0.5815 GB, free: 3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.324e-05/0.4325, allocations: 168.5 kB / 0.5816 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.4326, allocations: 384 / 0.5816 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.4326, allocations: 5.312 kB / 0.5816 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.4329, allocations: 55.94 kB / 0.5817 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.4329, allocations: 0.75 kB / 0.5817 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.4329, allocations: 9.312 kB / 0.5817 GB, free: 2.754 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4329, allocations: 0 / 0.5817 GB, free: 2.754 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.4332, allocations: 52.14 kB / 0.5817 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.4337, allocations: 265.4 kB / 0.582 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.434, allocations: 55.81 kB / 0.5821 GB, free: 2.426 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.4341, allocations: 29.72 kB / 0.5821 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.4342, allocations: 0 / 0.5821 GB, free: 2.414 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.4342, allocations: 36.5 kB / 0.5821 GB, free: 2.371 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 2.635e-06/0.4342, allocations: 0 / 0.5821 GB, free: 2.371 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006255/0.4348, allocations: 108.3 kB / 0.5822 GB, free: 2.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.4349, allocations: 56 kB / 0.5823 GB, free: 2.254 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.339e-05/0.435, allocations: 108.9 kB / 0.5824 GB, free: 2.148 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.435, allocations: 29.7 kB / 0.5824 GB, free: 2.113 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.119e-05/0.435, allocations: 86.16 kB / 0.5825 GB, free: 2.027 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.4351, allocations: 5.766 kB / 0.5825 GB, free: 2.023 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.4351, allocations: 13.02 kB / 0.5825 GB, free: 2.008 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.249e-05/0.4352, allocations: 317.3 kB / 0.5828 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.4354, allocations: 24.34 kB / 0.5828 GB, free: 1.688 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.4355, allocations: 22.97 kB / 0.5829 GB, free: 1.684 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.4358, allocations: 55.2 kB / 0.5829 GB, free: 1.664 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4358, allocations: 1.375 kB / 0.5829 GB, free: 1.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003623/0.4362, allocations: 80.86 kB / 0.583 GB, free: 1.621 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4362, allocations: 9.438 kB / 0.583 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4363, allocations: 0.8125 kB / 0.583 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.4363, allocations: 1.609 kB / 0.583 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.4364, allocations: 10.2 kB / 0.583 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.4365, allocations: 0.6875 kB / 0.583 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.581e-05/0.4366, allocations: 8.312 kB / 0.583 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.4366, allocations: 0.9688 kB / 0.583 GB, free: 1.617 MB / 430.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.381e-05/0.4366, allocations: 115.7 kB / 0.5831 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.4367, allocations: 7.047 kB / 0.5831 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.4367, allocations: 4.234 kB / 0.5831 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.4368, allocations: 1.375 kB / 0.5831 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4368, allocations: 0.6562 kB / 0.5831 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4368, allocations: 1.375 kB / 0.5831 GB, free: 1.488 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.437, allocations: 167.1 kB / 0.5833 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.437, allocations: 5.281 kB / 0.5833 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.4371, allocations: 10.48 kB / 0.5833 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.4371, allocations: 4.875 kB / 0.5833 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.4372, allocations: 5.688 kB / 0.5833 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4372, allocations: 0 / 0.5833 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4372, allocations: 0 / 0.5833 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.4376, allocations: 177.5 kB / 0.5835 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.361e-05/0.4376, allocations: 83.5 kB / 0.5836 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.4376, allocations: 1.156 kB / 0.5836 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.4378, allocations: 11.89 kB / 0.5836 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.4378, allocations: 3.547 kB / 0.5836 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.4379, allocations: 5 kB / 0.5836 GB, free: 1.027 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.467e-05/0.4379, allocations: 85.61 kB / 0.5837 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4379, allocations: 0 / 0.5837 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004281/0.4383, allocations: 5.562 kB / 0.5837 GB, free: 0.9492 MB / 430.1 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 (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.0001211/0.4385, allocations: 98.42 kB / 0.5838 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003879/0.4389, allocations: 58.22 kB / 0.5838 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4389, allocations: 0 / 0.5838 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.4391, allocations: 27.22 kB / 0.5839 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.4396, allocations: 9.859 kB / 0.5839 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.44, allocations: 132.6 kB / 0.584 GB, free: 0.707 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.4402, allocations: 0.6775 MB / 0.5847 GB, free: 12 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.915e-05/0.4402, allocations: 4.844 kB / 0.5847 GB, free: 8 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.013e-05/0.4403, allocations: 13.78 kB / 0.5847 GB, free: 16 MB / 446.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4403, allocations: 3.938 kB / 0.5847 GB, free: 15.99 MB / 446.1 MB Notification: Performance of Templates: time 0.003585/0.4439, allocations: 0.4978 MB / 0.5852 GB, free: 15.94 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)