Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 214.6 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.58/1.58, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9785/0.9785, allocations: 134 MB / 446.4 MB, free: 9.895 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 75.31 kB / 0.619 GB, free: 6.363 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2163, allocations: 85.91 MB / 0.7029 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.002896/0.2192, allocations: 1.467 MB / 0.7043 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003056/0.2195, allocations: 84.67 kB / 0.7044 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.2196, allocations: 0 / 0.7044 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.2196, allocations: 3.938 kB / 0.7044 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.2197, allocations: 11.88 kB / 0.7044 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.2199, allocations: 15.98 kB / 0.7044 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.22, allocations: 27.91 kB / 0.7044 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.2201, allocations: 7.984 kB / 0.7044 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.964e-05/0.2202, allocations: 8 kB / 0.7044 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.926e-05/0.2202, allocations: 15.86 kB / 0.7045 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.2202, allocations: 0 / 0.7045 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.882e-05/0.2203, allocations: 15.98 kB / 0.7045 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.2203, allocations: 8 kB / 0.7045 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.2203, allocations: 3.938 kB / 0.7045 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.2204, allocations: 43.81 kB / 0.7045 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2204, allocations: 4 kB / 0.7045 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2204, allocations: 0 / 0.7045 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.2204, allocations: 0 / 0.7045 GB, free: 14.81 MB / 0.5294 GB 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.0004396/0.2209, allocations: 270.2 kB / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.2209, allocations: 8.031 kB / 0.7048 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002962/0.2212, allocations: 12.92 kB / 0.7048 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.2213, allocations: 114.5 kB / 0.7049 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.2213, allocations: 384 / 0.7049 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.2213, allocations: 384 / 0.7049 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.2215, allocations: 62.22 kB / 0.705 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2215, allocations: 192 / 0.705 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.2216, allocations: 7.875 kB / 0.705 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.2216, allocations: 0 / 0.705 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002138/0.2218, allocations: 47.95 kB / 0.705 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.2221, allocations: 212.6 kB / 0.7052 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.2223, allocations: 54.48 kB / 0.7053 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.2224, allocations: 28.89 kB / 0.7053 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.2224, allocations: 3.938 kB / 0.7053 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.2225, allocations: 34.56 kB / 0.7054 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.2225, allocations: 0 / 0.7054 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004269/0.2229, allocations: 105.7 kB / 0.7055 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.223, allocations: 55.41 kB / 0.7055 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.692e-05/0.223, allocations: 105.8 kB / 0.7056 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.2231, allocations: 29.7 kB / 0.7056 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.2231, allocations: 84.14 kB / 0.7057 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.2231, allocations: 7.891 kB / 0.7057 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.2232, allocations: 13.72 kB / 0.7057 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.2233, allocations: 314.8 kB / 0.706 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.2234, allocations: 23.97 kB / 0.7061 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.365e-05/0.2235, allocations: 28 kB / 0.7061 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.2237, allocations: 48.81 kB / 0.7061 GB, free: 13 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2237, allocations: 0 / 0.7061 GB, free: 13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002621/0.224, allocations: 89.59 kB / 0.7062 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.224, allocations: 4 kB / 0.7062 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.224, allocations: 0 / 0.7062 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.224, allocations: 4 kB / 0.7062 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.2241, allocations: 11.92 kB / 0.7062 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.2241, allocations: 4 kB / 0.7062 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.64e-05/0.2242, allocations: 11.94 kB / 0.7063 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.2242, allocations: 0 / 0.7063 GB, free: 12.88 MB / 0.5294 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 8.929e-05/0.2243, allocations: 113.8 kB / 0.7064 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.2243, allocations: 11.95 kB / 0.7064 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.2243, allocations: 3.625 kB / 0.7064 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2243, allocations: 0 / 0.7064 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2243, allocations: 0 / 0.7064 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.2243, allocations: 4 kB / 0.7064 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.2245, allocations: 105.3 kB / 0.7065 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2245, allocations: 3.938 kB / 0.7065 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.747e-05/0.2246, allocations: 11.98 kB / 0.7065 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.2246, allocations: 3.938 kB / 0.7065 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.2246, allocations: 0 / 0.7065 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2246, allocations: 0 / 0.7065 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2246, allocations: 11.98 kB / 0.7065 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003675/0.225, allocations: 179.4 kB / 0.7067 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.225, allocations: 7.891 kB / 0.7067 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.225, allocations: 0 / 0.7067 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.207e-05/0.2251, allocations: 11.98 kB / 0.7067 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.2251, allocations: 0 / 0.7067 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.2251, allocations: 256 / 0.7067 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.463e-05/0.2252, allocations: 95.3 kB / 0.7068 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2252, allocations: 0 / 0.7068 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002274/0.2254, allocations: 8 kB / 0.7068 GB, free: 12.26 MB / 0.5294 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 0.0001043/0.2255, allocations: 91.25 kB / 0.7069 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002745/0.2258, allocations: 47.95 kB / 0.7069 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2258, allocations: 3.938 kB / 0.7069 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.2259, allocations: 32.03 kB / 0.707 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.2262, allocations: 0 / 0.707 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.2265, allocations: 125.6 kB / 0.7071 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.446e-05/0.2266, allocations: 63.2 kB / 0.7071 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.04e-05/0.2266, allocations: 0 / 0.7071 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.2267, allocations: 15.5 kB / 0.7072 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.2267, allocations: 0 / 0.7072 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of Templates: time 0.002982/0.2297, allocations: 0.6559 MB / 0.7078 GB, free: 11.18 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.945877680554986] Failed to read output from testmodel.py, exit status != 0: 0.23758681304752827 0.26144798299999994 0.036489812 Calling exit ...