Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized") translateModel(Annex60.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001862/0.001862, 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.002517/0.002517, allocations: 193.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.1 MB / 222.4 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3944/0.3944, allocations: 54.95 MB / 324.7 MB, free: 16 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 67.89 kB / 395.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1242, allocations: 59.59 MB / 455 MB, free: 80 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.InverseXRegularized): time 0.2251/0.3493, allocations: 1.4 MB / 456.4 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3504, allocations: 0.8144 MB / 457.2 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.83e-05/0.3505, allocations: 0 / 457.2 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.902e-05/0.3505, allocations: 1.219 kB / 457.2 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.761e-05/0.3506, allocations: 8.156 kB / 457.3 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004683/0.3511, allocations: 122.2 kB / 457.4 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.95e-05/0.3512, allocations: 38.72 kB / 457.4 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3513, allocations: 7.969 kB / 457.4 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.496e-05/0.3513, allocations: 15.5 kB / 457.4 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.783e-05/0.3514, allocations: 20.22 kB / 457.5 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.3514, allocations: 2.906 kB / 457.5 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003875/0.3518, allocations: 325 kB / 457.8 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.3518, allocations: 6.969 kB / 457.8 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.791e-05/0.3518, allocations: 10.98 kB / 457.8 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.3521, allocations: 199.1 kB / 458 MB, free: 38.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3522, allocations: 0.6562 kB / 458 MB, free: 38.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3522, allocations: 0 / 458 MB, free: 38.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3522, allocations: 1.312 kB / 458 MB, free: 38.75 MB / 382.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.0004845/0.3527, allocations: 375 kB / 458.4 MB, free: 38.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.3527, allocations: 11.62 kB / 458.4 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004623/0.3532, allocations: 66.95 kB / 458.4 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.906e-05/0.3533, allocations: 173.4 kB / 458.6 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.3533, allocations: 384 / 458.6 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.3533, allocations: 11.41 kB / 458.6 MB, free: 38.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.3536, allocations: 79.19 kB / 458.7 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3536, allocations: 1.469 kB / 458.7 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3537, allocations: 0 / 458.7 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3537, allocations: 4.156 kB / 458.7 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004062/0.3541, allocations: 88.09 kB / 458.8 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.3545, allocations: 300.4 kB / 459.1 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.3549, allocations: 95.08 kB / 459.2 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.3551, allocations: 53.72 kB / 459.2 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.3551, allocations: 1.406 kB / 459.2 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.3552, allocations: 33.25 kB / 459.3 MB, free: 37.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.3552, allocations: 0.8125 kB / 459.3 MB, free: 37.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0007038/0.3559, allocations: 175.7 kB / 459.4 MB, free: 37.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.3559, allocations: 51.41 kB / 459.5 MB, free: 37.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.586e-05/0.356, allocations: 100 kB / 459.6 MB, free: 37.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.356, allocations: 28.73 kB / 459.6 MB, free: 37.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.878e-05/0.356, allocations: 86.5 kB / 459.7 MB, free: 37.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.3561, allocations: 7.844 kB / 459.7 MB, free: 37.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.3561, allocations: 12.5 kB / 459.7 MB, free: 37.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.627e-05/0.3561, allocations: 317.7 kB / 460 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.3563, allocations: 52.42 kB / 460.1 MB, free: 37.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.3565, allocations: 44.14 kB / 460.1 MB, free: 37.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.3569, allocations: 87.55 kB / 460.2 MB, free: 37.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3569, allocations: 4.656 kB / 460.2 MB, free: 37.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000421/0.3573, allocations: 123.5 kB / 460.3 MB, free: 37.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.3574, allocations: 3.719 kB / 460.3 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3574, allocations: 3.156 kB / 460.3 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3574, allocations: 0 / 460.3 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.3576, allocations: 21.48 kB / 460.3 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.3576, allocations: 0.75 kB / 460.3 MB, free: 37.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.3577, allocations: 29.77 kB / 460.4 MB, free: 37.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.3577, allocations: 5.188 kB / 460.4 MB, free: 37.09 MB / 382.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.76e-05/0.3578, allocations: 112.6 kB / 460.5 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.3578, allocations: 0.8438 kB / 460.5 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.3578, allocations: 11.52 kB / 460.5 MB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.3579, allocations: 0 / 460.5 MB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3579, allocations: 0 / 460.5 MB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3579, allocations: 3.25 kB / 460.5 MB, free: 36.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001224/0.358, allocations: 174 kB / 460.7 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.358, allocations: 7 kB / 460.7 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001305/0.3581, allocations: 23.73 kB / 460.7 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3581, allocations: 1.359 kB / 460.7 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3582, allocations: 0 / 460.7 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3582, allocations: 0 / 460.7 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3582, allocations: 0 / 460.7 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004407/0.3586, allocations: 230.3 kB / 460.9 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.3586, allocations: 77.11 kB / 461 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.3587, allocations: 2.969 kB / 461 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.3588, allocations: 14.62 kB / 461 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.3589, allocations: 9.578 kB / 461 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.3589, allocations: 0 / 461 MB, free: 36.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.505e-05/0.3589, allocations: 83.16 kB / 461.1 MB, free: 36.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3589, allocations: 4.031 kB / 461.1 MB, free: 36.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.3591, allocations: 15.88 kB / 461.1 MB, free: 36.46 MB / 382.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.000146/0.3593, allocations: 110.5 kB / 461.2 MB, free: 36.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004513/0.3598, allocations: 102.4 kB / 461.3 MB, free: 36.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3598, allocations: 0 / 461.3 MB, free: 36.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.36, allocations: 51.55 kB / 461.4 MB, free: 36.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.3603, allocations: 2.469 kB / 461.4 MB, free: 36.35 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005301/0.3608, allocations: 158.5 kB / 461.6 MB, free: 36.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.3609, allocations: 0.6749 MB / 462.2 MB, free: 35.56 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.117e-05/0.361, allocations: 13.36 kB / 462.2 MB, free: 35.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.361, allocations: 11.38 kB / 462.3 MB, free: 35.55 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3611, allocations: 4 kB / 462.3 MB, free: 35.55 MB / 382.1 MB Notification: Performance of Templates: time 0.002525/0.3636, allocations: 0.8206 MB / 463.1 MB, free: 35.48 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)