Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 108 kB / 15.6 MB, free: 132 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.001701/0.001701, allocations: 196 kB / 16.53 MB, free: 6.391 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7317/0.7317, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 65.06 kB / 0.5018 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4175/0.419, allocations: 80.2 MB / 0.5801 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002106/0.4211, allocations: 0.5805 MB / 0.5807 GB, free: 4.168 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002922/0.4214, allocations: 95.3 kB / 0.5808 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.689e-05/0.4215, allocations: 0 / 0.5808 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.4215, allocations: 0 / 0.5808 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.269e-05/0.4215, allocations: 5.25 kB / 0.5808 GB, free: 4.102 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.4218, allocations: 18.05 kB / 0.5808 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.758e-05/0.4218, allocations: 8.859 kB / 0.5808 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.4219, allocations: 2.219 kB / 0.5808 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.006e-05/0.4219, allocations: 2.984 kB / 0.5808 GB, free: 4.09 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.883e-05/0.422, allocations: 11.16 kB / 0.5808 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.422, allocations: 0 / 0.5808 GB, free: 4.082 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.295e-05/0.422, allocations: 14.73 kB / 0.5808 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.4221, allocations: 1.344 kB / 0.5808 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.4221, allocations: 6.75 kB / 0.5808 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.502e-05/0.4222, allocations: 16.91 kB / 0.5808 GB, free: 4.066 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4222, allocations: 4.625 kB / 0.5808 GB, free: 4.062 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4222, allocations: 0 / 0.5808 GB, free: 4.062 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.4222, allocations: 0 / 0.5808 GB, free: 4.062 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.0002777/0.4225, allocations: 317.2 kB / 0.5811 GB, free: 3.711 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.4225, allocations: 10.09 kB / 0.5812 GB, free: 3.711 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.4227, allocations: 9.422 kB / 0.5812 GB, free: 3.711 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.358e-05/0.4228, allocations: 166 kB / 0.5813 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.4228, allocations: 1.969 kB / 0.5813 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.4228, allocations: 5.125 kB / 0.5813 GB, free: 3.508 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.4229, allocations: 40.09 kB / 0.5814 GB, free: 3.473 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.423, allocations: 4.125 kB / 0.5814 GB, free: 3.469 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.423, allocations: 5.125 kB / 0.5814 GB, free: 3.465 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.423, allocations: 0 / 0.5814 GB, free: 3.465 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.511e-05/0.4231, allocations: 11.5 kB / 0.5814 GB, free: 3.465 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001136/0.4232, allocations: 154.8 kB / 0.5815 GB, free: 3.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.4234, allocations: 48.3 kB / 0.5816 GB, free: 3.234 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/0.4234, allocations: 15.05 kB / 0.5816 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.4234, allocations: 1.156 kB / 0.5816 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.4235, allocations: 31.72 kB / 0.5816 GB, free: 3.184 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.4235, allocations: 3.938 kB / 0.5816 GB, free: 3.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002195/0.4237, allocations: 56.52 kB / 0.5817 GB, free: 3.141 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.4237, allocations: 61.17 kB / 0.5817 GB, free: 3.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.443e-05/0.4237, allocations: 89.86 kB / 0.5818 GB, free: 2.973 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.023e-06/0.4238, allocations: 25.7 kB / 0.5819 GB, free: 2.941 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.198e-05/0.4238, allocations: 84.75 kB / 0.5819 GB, free: 2.855 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.4238, allocations: 8.5 kB / 0.5819 GB, free: 2.852 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/0.4238, allocations: 17.84 kB / 0.582 GB, free: 2.832 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.336e-05/0.4239, allocations: 312.8 kB / 0.5823 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.039e-05/0.4239, allocations: 8.625 kB / 0.5823 GB, free: 2.516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.282e-05/0.424, allocations: 6.688 kB / 0.5823 GB, free: 2.516 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.54e-05/0.4241, allocations: 24.62 kB / 0.5823 GB, free: 2.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4241, allocations: 5 kB / 0.5823 GB, free: 2.496 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001054/0.4242, allocations: 47.42 kB / 0.5823 GB, free: 2.461 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.4242, allocations: 9.766 kB / 0.5824 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4242, allocations: 0 / 0.5824 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.4242, allocations: 5.062 kB / 0.5824 GB, free: 2.453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.4246, allocations: 48.78 kB / 0.5824 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009826/0.4256, allocations: 1.406 MB / 0.5838 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.4257, allocations: 1.969 kB / 0.5838 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.4257, allocations: 1.953 kB / 0.5838 GB, free: 1 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.9e-05/0.4257, allocations: 113.5 kB / 0.5839 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-06/0.4257, allocations: 1.781 kB / 0.5839 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.135e-05/0.4258, allocations: 7.828 kB / 0.5839 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.4258, allocations: 1.531 kB / 0.5839 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.4258, allocations: 4.906 kB / 0.5839 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4258, allocations: 4.594 kB / 0.5839 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.631e-05/0.4258, allocations: 155.1 kB / 0.5841 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4258, allocations: 4.875 kB / 0.5841 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/0.4262, allocations: 46.52 kB / 0.5841 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4262, allocations: 4 kB / 0.5841 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.4262, allocations: 1.375 kB / 0.5841 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.4273, allocations: 1.402 MB / 0.5855 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4273, allocations: 1.359 kB / 0.5855 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.4274, allocations: 81.08 kB / 0.5856 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.324e-05/0.4275, allocations: 78.56 kB / 0.5856 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-06/0.4275, allocations: 5.562 kB / 0.5856 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.962e-05/0.4275, allocations: 5.5 kB / 0.5856 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.4276, allocations: 2.438 kB / 0.5857 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.339e-06/0.4276, allocations: 1.75 kB / 0.5857 GB, free: 15.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.569e-05/0.4276, allocations: 79.28 kB / 0.5857 GB, free: 14.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4276, allocations: 0 / 0.5857 GB, free: 14.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001942/0.4278, allocations: 8.375 kB / 0.5857 GB, free: 14.96 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001226/0.4279, allocations: 96.09 kB / 0.5858 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004911/0.4284, allocations: 72.28 kB / 0.5859 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4285, allocations: 0 / 0.5859 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.4287, allocations: 39.38 kB / 0.5859 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.4288, allocations: 6.391 kB / 0.5859 GB, free: 14.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.4292, allocations: 101.9 kB / 0.586 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.4294, allocations: 0.674 MB / 0.5867 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.241e-05/0.4294, allocations: 6.703 kB / 0.5867 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.396e-05/0.4294, allocations: 9.141 kB / 0.5867 GB, free: 14.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4295, allocations: 0 / 0.5867 GB, free: 14.04 MB / 446.1 MB Notification: Performance of Templates: time 0.002209/0.4317, allocations: 416 kB / 0.5871 GB, free: 13.97 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)