Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0007566/0.0007567, allocations: 91.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008822/0.0008824, allocations: 178.7 kB / 16.92 MB, free: 6.652 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.314/1.314, allocations: 223.3 MB / 241 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8975/0.8975, allocations: 135.3 MB / 427.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003356, allocations: 12.72 kB / 0.5082 GB, free: 4.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1358, allocations: 82.31 MB / 0.5886 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.001395/0.1373, allocations: 1.154 MB / 0.5897 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002585/0.1375, allocations: 96.59 kB / 0.5898 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.931e-05/0.1376, allocations: 0 / 0.5898 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.1376, allocations: 3.984 kB / 0.5898 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.108e-05/0.1376, allocations: 7.938 kB / 0.5898 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.1378, allocations: 11.92 kB / 0.5899 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.553e-05/0.1378, allocations: 31.86 kB / 0.5899 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.418e-05/0.1379, allocations: 8 kB / 0.5899 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.493e-05/0.138, allocations: 7.984 kB / 0.5899 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.074e-05/0.138, allocations: 11.92 kB / 0.5899 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.138, allocations: 4 kB / 0.5899 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.936e-05/0.1381, allocations: 15.98 kB / 0.5899 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.1381, allocations: 0 / 0.5899 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.217e-05/0.1381, allocations: 33.64 kB / 0.59 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.849e-05/0.1382, allocations: 23.89 kB / 0.59 GB, free: 1.242 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1382, allocations: 0 / 0.59 GB, free: 1.242 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1382, allocations: 0 / 0.59 GB, free: 1.242 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1382, allocations: 0 / 0.59 GB, free: 1.242 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003743/0.1386, allocations: 347.7 kB / 0.5903 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1387, allocations: 12.03 kB / 0.5903 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.1388, allocations: 16.91 kB / 0.5903 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.494e-05/0.1389, allocations: 168.3 kB / 0.5905 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.1389, allocations: 384 / 0.5905 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.139, allocations: 4.375 kB / 0.5905 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.1392, allocations: 78.14 kB / 0.5906 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.1392, allocations: 192 / 0.5906 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1392, allocations: 3.938 kB / 0.5906 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1392, allocations: 0 / 0.5906 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.1394, allocations: 59.95 kB / 0.5906 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.1398, allocations: 269 kB / 0.5909 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.14, allocations: 62.48 kB / 0.591 GB, free: 92 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.1401, allocations: 44.89 kB / 0.591 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.1401, allocations: 3.938 kB / 0.591 GB, free: 40 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.1402, allocations: 30.56 kB / 0.591 GB, free: 0 / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1402, allocations: 0 / 0.591 GB, free: 0 / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004488/0.1406, allocations: 125.6 kB / 0.5912 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.1407, allocations: 51.41 kB / 0.5912 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.512e-05/0.1407, allocations: 105.8 kB / 0.5913 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1408, allocations: 25.7 kB / 0.5913 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.1408, allocations: 88.27 kB / 0.5914 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.1408, allocations: 7.844 kB / 0.5914 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/0.1409, allocations: 13.72 kB / 0.5914 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.064e-05/0.141, allocations: 314.8 kB / 0.5917 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.1411, allocations: 27.97 kB / 0.5918 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.1412, allocations: 39.91 kB / 0.5918 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.1414, allocations: 68.88 kB / 0.5919 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1414, allocations: 0 / 0.5919 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002583/0.1417, allocations: 105.4 kB / 0.592 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.1417, allocations: 6.031 kB / 0.592 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1417, allocations: 3.938 kB / 0.592 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.1417, allocations: 0 / 0.592 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.1419, allocations: 15.98 kB / 0.592 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.1419, allocations: 0 / 0.592 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.688e-05/0.1419, allocations: 12.02 kB / 0.592 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.142, allocations: 4 kB / 0.592 GB, free: 14.95 MB / 0.4981 GB 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.376e-05/0.142, allocations: 121.7 kB / 0.5921 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.1421, allocations: 0 / 0.5921 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.638e-05/0.1421, allocations: 11.52 kB / 0.5921 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.1421, allocations: 0 / 0.5921 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1421, allocations: 0 / 0.5921 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.1421, allocations: 0 / 0.5921 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.1423, allocations: 169.6 kB / 0.5923 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1423, allocations: 0 / 0.5923 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.187e-05/0.1424, allocations: 15.98 kB / 0.5923 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1424, allocations: 0 / 0.5923 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.1424, allocations: 4 kB / 0.5923 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1424, allocations: 0 / 0.5923 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1424, allocations: 0 / 0.5923 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003001/0.1427, allocations: 191.4 kB / 0.5925 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.703e-05/0.1428, allocations: 81.02 kB / 0.5926 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.1428, allocations: 4 kB / 0.5926 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.92e-05/0.1429, allocations: 16.02 kB / 0.5926 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.1429, allocations: 3.938 kB / 0.5926 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.1429, allocations: 256 / 0.5926 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.814e-05/0.143, allocations: 91.27 kB / 0.5927 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.143, allocations: 0 / 0.5927 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002178/0.1432, allocations: 8 kB / 0.5927 GB, free: 14.14 MB / 0.4981 GB 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 9.32e-05/0.1433, allocations: 91.25 kB / 0.5928 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002696/0.1436, allocations: 67.95 kB / 0.5928 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1436, allocations: 0 / 0.5928 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.1437, allocations: 40.03 kB / 0.5929 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.144, allocations: 5.625 kB / 0.5929 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.1443, allocations: 170.3 kB / 0.593 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.1445, allocations: 0.6809 MB / 0.5937 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.1446, allocations: 7.438 kB / 0.5937 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1446, allocations: 0 / 0.5937 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.001643/0.1462, allocations: 0.629 MB / 0.5943 GB, free: 12.4 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)