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.001482/0.001482, allocations: 107.5 kB / 15.99 MB, free: 5.91 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.001653/0.001653, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.351/1.351, allocations: 222.9 MB / 240.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.817/0.817, allocations: 135.1 MB / 425.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 71.89 kB / 0.5055 GB, free: 8.754 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3922, allocations: 80.91 MB / 0.5845 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002743/0.395, allocations: 1.49 MB / 0.586 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000267/0.3953, allocations: 95.45 kB / 0.5861 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.255e-05/0.3953, allocations: 0 / 0.5861 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.915e-05/0.3954, allocations: 5.406 kB / 0.5861 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.295e-05/0.3954, allocations: 0 / 0.5861 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.3956, allocations: 17.19 kB / 0.5861 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.095e-05/0.3957, allocations: 27.19 kB / 0.5861 GB, free: 23.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.642e-05/0.3958, allocations: 10.73 kB / 0.5861 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.042e-05/0.3959, allocations: 4.531 kB / 0.5861 GB, free: 23.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.682e-05/0.3959, allocations: 15.55 kB / 0.5861 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.3959, allocations: 2.594 kB / 0.5861 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.754e-05/0.396, allocations: 18.3 kB / 0.5862 GB, free: 23.83 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.396, allocations: 5.062 kB / 0.5862 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.396, allocations: 10.42 kB / 0.5862 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.27e-05/0.3961, allocations: 26.77 kB / 0.5862 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3961, allocations: 0 / 0.5862 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3961, allocations: 0.5938 kB / 0.5862 GB, free: 23.8 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.3962, allocations: 0 / 0.5862 GB, free: 23.8 MB / 446.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.0003712/0.3965, allocations: 350.6 kB / 0.5865 GB, free: 23.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3966, allocations: 11.77 kB / 0.5865 GB, free: 23.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.3967, allocations: 19.45 kB / 0.5866 GB, free: 23.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.844e-05/0.3968, allocations: 166.6 kB / 0.5867 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.3969, allocations: 2.469 kB / 0.5867 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.3969, allocations: 5.438 kB / 0.5867 GB, free: 23.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.3971, allocations: 58.22 kB / 0.5868 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.3971, allocations: 1.375 kB / 0.5868 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3971, allocations: 4.781 kB / 0.5868 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.748e-06/0.3971, allocations: 0 / 0.5868 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001991/0.3973, allocations: 52.64 kB / 0.5868 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003156/0.3976, allocations: 260.6 kB / 0.5871 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.3978, allocations: 55.45 kB / 0.5871 GB, free: 22.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.749e-05/0.3979, allocations: 32.58 kB / 0.5872 GB, free: 22.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.3979, allocations: 1.5 kB / 0.5872 GB, free: 22.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.398, allocations: 32.41 kB / 0.5872 GB, free: 22.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.398, allocations: 5.484 kB / 0.5872 GB, free: 22.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003899/0.3984, allocations: 108.7 kB / 0.5873 GB, free: 22.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.3984, allocations: 51.41 kB / 0.5874 GB, free: 22.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.416e-05/0.3985, allocations: 107.1 kB / 0.5875 GB, free: 22.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.3985, allocations: 25.7 kB / 0.5875 GB, free: 22.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.587e-05/0.3985, allocations: 82.52 kB / 0.5876 GB, free: 22.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.3985, allocations: 9.875 kB / 0.5876 GB, free: 22.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/0.3986, allocations: 12.16 kB / 0.5876 GB, free: 22.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.514e-05/0.3986, allocations: 315.9 kB / 0.5879 GB, free: 22.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.3987, allocations: 22.61 kB / 0.5879 GB, free: 22.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.993e-05/0.3988, allocations: 26.97 kB / 0.5879 GB, free: 22.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.399, allocations: 51.22 kB / 0.588 GB, free: 22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.399, allocations: 2.469 kB / 0.588 GB, free: 22 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002182/0.3992, allocations: 88.05 kB / 0.5881 GB, free: 21.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3993, allocations: 8.312 kB / 0.5881 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.3993, allocations: 0 / 0.5881 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3993, allocations: 2.062 kB / 0.5881 GB, free: 21.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.3994, allocations: 12.36 kB / 0.5881 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3994, allocations: 0 / 0.5881 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.241e-05/0.3995, allocations: 12.86 kB / 0.5881 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.3995, allocations: 1.75 kB / 0.5881 GB, free: 21.93 MB / 446.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 5.244e-05/0.3996, allocations: 113.8 kB / 0.5882 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/0.3996, allocations: 2.781 kB / 0.5882 GB, free: 21.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.3996, allocations: 7.531 kB / 0.5882 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3996, allocations: 1.281 kB / 0.5882 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3996, allocations: 0 / 0.5882 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3997, allocations: 5.969 kB / 0.5882 GB, free: 21.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.3998, allocations: 163.1 kB / 0.5884 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3998, allocations: 1.969 kB / 0.5884 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.702e-05/0.3999, allocations: 12.52 kB / 0.5884 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3999, allocations: 0 / 0.5884 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.3999, allocations: 9.375 kB / 0.5884 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3999, allocations: 0 / 0.5884 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3999, allocations: 10.55 kB / 0.5884 GB, free: 21.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.4001, allocations: 176.1 kB / 0.5886 GB, free: 21.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.762e-05/0.4002, allocations: 78.3 kB / 0.5887 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.4002, allocations: 1.562 kB / 0.5887 GB, free: 21.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.922e-05/0.4003, allocations: 9.609 kB / 0.5887 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.4003, allocations: 4.609 kB / 0.5887 GB, free: 21.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.4003, allocations: 2.062 kB / 0.5887 GB, free: 21.32 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.592e-05/0.4004, allocations: 86.62 kB / 0.5888 GB, free: 21.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4004, allocations: 0 / 0.5888 GB, free: 21.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002138/0.4006, allocations: 5.406 kB / 0.5888 GB, free: 21.24 MB / 446.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.0001001/0.4007, allocations: 94.06 kB / 0.5889 GB, free: 21.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002529/0.401, allocations: 64.66 kB / 0.5889 GB, free: 21.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.401, allocations: 4 kB / 0.5889 GB, free: 21.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.4011, allocations: 22.83 kB / 0.5889 GB, free: 21.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.4014, allocations: 12.05 kB / 0.589 GB, free: 21.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.4017, allocations: 152.3 kB / 0.5891 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.4018, allocations: 0.6804 MB / 0.5898 GB, free: 20.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.4019, allocations: 8.75 kB / 0.5898 GB, free: 20.24 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4019, allocations: 0 / 0.5898 GB, free: 20.24 MB / 446.1 MB Notification: Performance of Templates: time 0.001758/0.4036, allocations: 0.6287 MB / 0.5904 GB, free: 19.94 MB / 446.1 MB 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)