Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower") translateModel(Annex60.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008165/0.008165, allocations: 102.5 kB / 15.73 MB, free: 5.984 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.002047/0.002047, allocations: 199.1 kB / 16.68 MB, free: 5.91 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.472/1.472, allocations: 205.1 MB / 222.5 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4341/0.4341, allocations: 54.94 MB / 324.8 MB, free: 0 / 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.001423/0.001423, allocations: 64.25 kB / 456.3 MB, free: 38.34 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1467, allocations: 59.59 MB / 0.5038 GB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.RegNonZeroPower): time 0.002185/0.1489, allocations: 1.407 MB / 0.5052 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006179/0.1496, allocations: 363.8 kB / 0.5055 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.716e-05/0.1496, allocations: 0 / 0.5055 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.275e-05/0.1497, allocations: 7.984 kB / 0.5055 GB, free: 8.324 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.51e-05/0.1497, allocations: 5.312 kB / 0.5055 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004426/0.1502, allocations: 115.6 kB / 0.5056 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.003e-05/0.1503, allocations: 21.61 kB / 0.5056 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.717e-05/0.1503, allocations: 4.125 kB / 0.5056 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.068e-05/0.1504, allocations: 10.69 kB / 0.5057 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.798e-05/0.1504, allocations: 16.05 kB / 0.5057 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.1505, allocations: 6.75 kB / 0.5057 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003289/0.1508, allocations: 275.3 kB / 0.5059 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.382e-05/0.1508, allocations: 9.344 kB / 0.506 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.1508, allocations: 9.312 kB / 0.506 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001868/0.151, allocations: 104.6 kB / 0.5061 GB, free: 7.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.151, allocations: 0 / 0.5061 GB, free: 7.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1511, allocations: 0 / 0.5061 GB, free: 7.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.1511, allocations: 3.938 kB / 0.5061 GB, free: 7.973 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.0004314/0.1515, allocations: 367.8 kB / 0.5064 GB, free: 7.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1515, allocations: 9.531 kB / 0.5064 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.873e-05/0.1516, allocations: 2.312 kB / 0.5064 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.1517, allocations: 173.9 kB / 0.5066 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.1517, allocations: 1.719 kB / 0.5066 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.1518, allocations: 1.844 kB / 0.5066 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.1519, allocations: 57.22 kB / 0.5067 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1519, allocations: 0 / 0.5067 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.152, allocations: 0 / 0.5067 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.152, allocations: 1 kB / 0.5067 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.1521, allocations: 39.06 kB / 0.5067 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.1524, allocations: 253.8 kB / 0.5069 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.1526, allocations: 36.66 kB / 0.507 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.56e-05/0.1527, allocations: 30.73 kB / 0.507 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005804/0.1532, allocations: 458.8 kB / 0.5074 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.1533, allocations: 40.28 kB / 0.5075 GB, free: 6.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1533, allocations: 0 / 0.5075 GB, free: 6.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003736/0.1537, allocations: 81.77 kB / 0.5075 GB, free: 6.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.146e-05/0.1537, allocations: 52.78 kB / 0.5076 GB, free: 6.305 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.934e-05/0.1537, allocations: 105.3 kB / 0.5077 GB, free: 6.199 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.884e-06/0.1538, allocations: 25.7 kB / 0.5077 GB, free: 6.168 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/0.1538, allocations: 85.3 kB / 0.5078 GB, free: 6.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.1538, allocations: 9.906 kB / 0.5078 GB, free: 6.074 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.676e-05/0.1539, allocations: 11.62 kB / 0.5078 GB, free: 6.059 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.569e-05/0.1539, allocations: 320.6 kB / 0.5081 GB, free: 5.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.239e-05/0.154, allocations: 16.64 kB / 0.5081 GB, free: 5.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.211e-05/0.1541, allocations: 13.23 kB / 0.5082 GB, free: 5.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.1543, allocations: 52.78 kB / 0.5082 GB, free: 5.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1543, allocations: 0 / 0.5082 GB, free: 5.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001916/0.1545, allocations: 65.08 kB / 0.5083 GB, free: 5.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.1545, allocations: 9.344 kB / 0.5083 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1545, allocations: 0 / 0.5083 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1545, allocations: 1.281 kB / 0.5083 GB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.586e-05/0.1546, allocations: 10.17 kB / 0.5083 GB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1546, allocations: 8.016 kB / 0.5083 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.54e-05/0.1547, allocations: 11.58 kB / 0.5083 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.1547, allocations: 1.25 kB / 0.5083 GB, free: 5.621 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.304e-05/0.1547, allocations: 115.6 kB / 0.5084 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.1548, allocations: 1.406 kB / 0.5084 GB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.155, allocations: 76.41 kB / 0.5085 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.155, allocations: 5.281 kB / 0.5085 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.155, allocations: 0 / 0.5085 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.155, allocations: 3.984 kB / 0.5085 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.1552, allocations: 163.6 kB / 0.5087 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1552, allocations: 0 / 0.5087 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.764e-05/0.1552, allocations: 10.83 kB / 0.5087 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.1552, allocations: 0 / 0.5087 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.805e-06/0.1553, allocations: 1.375 kB / 0.5087 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1553, allocations: 0 / 0.5087 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1553, allocations: 0 / 0.5087 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.1555, allocations: 177 kB / 0.5088 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.1555, allocations: 77.11 kB / 0.5089 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.1555, allocations: 1.406 kB / 0.5089 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.1556, allocations: 8.141 kB / 0.5089 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.1557, allocations: 5.375 kB / 0.5089 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.1557, allocations: 32 / 0.5089 GB, free: 4.957 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.96e-05/0.1557, allocations: 92.83 kB / 0.509 GB, free: 4.871 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1557, allocations: 0 / 0.509 GB, free: 4.871 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002301/0.1559, allocations: 11.03 kB / 0.509 GB, free: 4.871 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.0001419/0.1561, allocations: 102 kB / 0.5091 GB, free: 4.785 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.1563, allocations: 42.8 kB / 0.5092 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1563, allocations: 64 / 0.5092 GB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.428e-05/0.1564, allocations: 27.48 kB / 0.5092 GB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.1567, allocations: 2.906 kB / 0.5092 GB, free: 4.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002552/0.157, allocations: 115.6 kB / 0.5093 GB, free: 4.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.1571, allocations: 0.682 MB / 0.51 GB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.361e-05/0.1571, allocations: 1.344 kB / 0.51 GB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.809e-05/0.1572, allocations: 8.531 kB / 0.51 GB, free: 3.918 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1572, allocations: 4.062 kB / 0.51 GB, free: 3.914 MB / 382.1 MB Notification: Performance of Templates: time 0.002745/0.1599, allocations: 0.7152 MB / 0.5107 GB, free: 3.312 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)