Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MagLev_MagLev.Examples.SteadyStateCharacteristic.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/MagLev 2.3.0-main/package.mo", uses=false) Using package MagLev with version 2.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0-main/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(MagLev.Examples.SteadyStateCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="MagLev_MagLev.Examples.SteadyStateCharacteristic") translateModel(MagLev.Examples.SteadyStateCharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="MagLev_MagLev.Examples.SteadyStateCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 100.2 kB / 16.27 MB, free: 5.969 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.001417/0.001418, allocations: 193.8 kB / 17.2 MB, free: 5.594 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.364/1.364, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0-main/package.mo): time 0.03052/0.03052, allocations: 4.229 MB / 295.3 MB, free: 10.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 67.89 kB / 356.8 MB, free: 13.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2157, allocations: 50.46 MB / 407.2 MB, free: 31.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.002187/0.2179, allocations: 1.625 MB / 408.8 MB, free: 29.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008755/0.2188, allocations: 0.8714 MB / 409.7 MB, free: 28.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.018e-05/0.2189, allocations: 0 / 409.7 MB, free: 28.76 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004833/0.2193, allocations: 161.5 kB / 409.9 MB, free: 28.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.648e-05/0.2195, allocations: 55.61 kB / 409.9 MB, free: 28.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.739e-05/0.2195, allocations: 11.98 kB / 409.9 MB, free: 28.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.2196, allocations: 139.3 kB / 410.1 MB, free: 28.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.628e-05/0.2197, allocations: 21.06 kB / 410.1 MB, free: 28.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.882e-05/0.2197, allocations: 55.73 kB / 410.1 MB, free: 28.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.2199, allocations: 63.73 kB / 410.2 MB, free: 28.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.2199, allocations: 8 kB / 410.2 MB, free: 28.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.235e-05/0.2199, allocations: 8 kB / 410.2 MB, free: 28.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.899e-05/0.2199, allocations: 35.78 kB / 410.3 MB, free: 28.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.22, allocations: 59.59 kB / 410.3 MB, free: 28.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.2201, allocations: 93.61 kB / 410.4 MB, free: 28.06 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2201, allocations: 7.984 kB / 410.4 MB, free: 28.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.2201, allocations: 0 / 410.4 MB, free: 28.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.2201, allocations: 0 / 410.4 MB, free: 28.05 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006797/0.2208, allocations: 462.7 kB / 410.9 MB, free: 27.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2209, allocations: 8.031 kB / 410.9 MB, free: 27.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.2209, allocations: 16.75 kB / 410.9 MB, free: 27.53 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.2211, allocations: 244.8 kB / 411.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.2211, allocations: 4.375 kB / 411.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.2211, allocations: 4.375 kB / 411.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.911e-05/0.2212, allocations: 49.94 kB / 411.2 MB, free: 27.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.2213, allocations: 0 / 411.2 MB, free: 27.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.2213, allocations: 4 kB / 411.2 MB, free: 27.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2213, allocations: 0 / 411.2 MB, free: 27.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.167e-05/0.2213, allocations: 19.98 kB / 411.2 MB, free: 27.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003376/0.2217, allocations: 316.8 kB / 411.5 MB, free: 26.81 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.222, allocations: 62.53 kB / 411.6 MB, free: 26.74 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.881e-05/0.222, allocations: 12.86 kB / 411.6 MB, free: 26.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.222, allocations: 0 / 411.6 MB, free: 26.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.961e-05/0.222, allocations: 46.55 kB / 411.6 MB, free: 26.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.222, allocations: 0 / 411.6 MB, free: 26.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001771/0.2222, allocations: 69.53 kB / 411.7 MB, free: 26.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.2223, allocations: 51.41 kB / 411.8 MB, free: 26.53 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.2225, allocations: 228.8 kB / 412 MB, free: 26.3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.2225, allocations: 25.7 kB / 412 MB, free: 26.27 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.2225, allocations: 120 kB / 412.1 MB, free: 26.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.042e-05/0.2225, allocations: 11.75 kB / 412.1 MB, free: 26.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.2226, allocations: 25.7 kB / 412.2 MB, free: 26.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.964e-05/0.2226, allocations: 322.8 kB / 412.5 MB, free: 25.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.357e-05/0.2227, allocations: 8 kB / 412.5 MB, free: 25.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.037e-05/0.2227, allocations: 15.98 kB / 412.5 MB, free: 25.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.878e-05/0.2227, allocations: 32.92 kB / 412.5 MB, free: 25.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2227, allocations: 0 / 412.5 MB, free: 25.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.251e-05/0.2228, allocations: 73.53 kB / 412.6 MB, free: 25.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.2229, allocations: 4 kB / 412.6 MB, free: 25.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2229, allocations: 0 / 412.6 MB, free: 25.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2229, allocations: 4 kB / 412.6 MB, free: 25.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.223, allocations: 15.98 kB / 412.6 MB, free: 25.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.223, allocations: 0 / 412.6 MB, free: 25.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.2232, allocations: 3.906 kB / 412.6 MB, free: 25.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.2232, allocations: 4 kB / 412.6 MB, free: 25.61 MB / 302.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 (5): * Single equations (assignments): 5 * 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.92e-05/0.2232, allocations: 125.7 kB / 412.8 MB, free: 25.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/0.2233, allocations: 7.906 kB / 412.8 MB, free: 25.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.2233, allocations: 16.94 kB / 412.8 MB, free: 25.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2233, allocations: 4 kB / 412.8 MB, free: 25.44 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2233, allocations: 4 kB / 412.8 MB, free: 25.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2233, allocations: 7.922 kB / 412.8 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.2235, allocations: 209.4 kB / 413 MB, free: 25.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2235, allocations: 0 / 413 MB, free: 25.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.637e-05/0.2236, allocations: 11.98 kB / 413 MB, free: 25.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2236, allocations: 0 / 413 MB, free: 25.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.2236, allocations: 0 / 413 MB, free: 25.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2236, allocations: 7.938 kB / 413 MB, free: 25.16 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2236, allocations: 3.984 kB / 413 MB, free: 25.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.2237, allocations: 167.4 kB / 413.2 MB, free: 24.97 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.2238, allocations: 92.91 kB / 413.3 MB, free: 24.86 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.2238, allocations: 4 kB / 413.3 MB, free: 24.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.224, allocations: 4 kB / 413.3 MB, free: 24.86 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.653e-05/0.224, allocations: 3.984 kB / 413.3 MB, free: 24.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.224, allocations: 4 kB / 413.3 MB, free: 24.85 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.2241, allocations: 176.5 kB / 413.5 MB, free: 24.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2241, allocations: 0 / 413.5 MB, free: 24.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.2244, allocations: 20 kB / 413.5 MB, free: 24.66 MB / 302.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 (4): * Single equations (assignments): 4 * 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 5.685e-05/0.2244, allocations: 103.2 kB / 413.6 MB, free: 24.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.2246, allocations: 31.92 kB / 413.6 MB, free: 24.51 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2246, allocations: 0 / 413.6 MB, free: 24.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.401e-05/0.2246, allocations: 15.98 kB / 413.6 MB, free: 24.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.2249, allocations: 20.12 kB / 413.6 MB, free: 24.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006733/0.2256, allocations: 334.2 kB / 414 MB, free: 24.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.2258, allocations: 0.708 MB / 414.7 MB, free: 23.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.2258, allocations: 11.44 kB / 414.7 MB, free: 23.38 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2258, allocations: 0 / 414.7 MB, free: 23.38 MB / 302.1 MB Notification: Performance of Templates: time 0.002429/0.2282, allocations: 1.382 MB / 416.1 MB, free: 21.99 MB / 302.1 MB make -j1 -f MagLev_MagLev.Examples.SteadyStateCharacteristic.makefile (rm -f MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe ; mkfifo MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe ; head -c 1048576 < MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe >> ../files/MagLev_MagLev.Examples.SteadyStateCharacteristic.sim & ./MagLev_MagLev.Examples.SteadyStateCharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe 2>&1)