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: "" <> buildModelFMU(MagLev.Examples.SteadyStateCharacteristic,fileNamePrefix="MagLev_MagLev_Examples_SteadyStateCharacteristic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MagLev.Examples.SteadyStateCharacteristic,fileNamePrefix="MagLev_MagLev_Examples_SteadyStateCharacteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005865/0.005865, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001315/0.001315, allocations: 198.7 kB / 16.68 MB, free: 5.969 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0-main/package.mo): time 0.2305/0.2305, allocations: 4.224 MB / 294.8 MB, free: 3.172 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 59.91 kB / 407.3 MB, free: 15.72 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2417, allocations: 50.46 MB / 457.8 MB, free: 20.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.001974/0.2437, allocations: 1.623 MB / 459.4 MB, free: 18.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008601/0.2446, allocations: 0.8719 MB / 460.3 MB, free: 18.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.288e-05/0.2447, allocations: 4 kB / 460.3 MB, free: 18.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004405/0.2451, allocations: 163.6 kB / 460.4 MB, free: 18.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.598e-05/0.2452, allocations: 57.67 kB / 460.5 MB, free: 18.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.54e-05/0.2452, allocations: 3.516 kB / 460.5 MB, free: 18.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.2454, allocations: 148.5 kB / 460.6 MB, free: 18.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.2454, allocations: 15.12 kB / 460.6 MB, free: 18.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.689e-05/0.2455, allocations: 53.89 kB / 460.7 MB, free: 18.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.2456, allocations: 71.11 kB / 460.8 MB, free: 17.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.2456, allocations: 9.188 kB / 460.8 MB, free: 17.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.321e-05/0.2457, allocations: 9.062 kB / 460.8 MB, free: 17.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.328e-05/0.2457, allocations: 25.77 kB / 460.8 MB, free: 17.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.131e-05/0.2458, allocations: 58.06 kB / 460.9 MB, free: 17.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.2459, allocations: 103.8 kB / 461 MB, free: 17.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2459, allocations: 0 / 461 MB, free: 17.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2459, allocations: 4 kB / 461 MB, free: 17.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.2459, allocations: 0 / 461 MB, free: 17.89 MB / 350.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.0006987/0.2467, allocations: 462.4 kB / 461.4 MB, free: 17.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2467, allocations: 12.97 kB / 461.4 MB, free: 17.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.01e-05/0.2467, allocations: 34.39 kB / 461.5 MB, free: 17.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.2468, allocations: 19.45 kB / 461.5 MB, free: 17.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.247, allocations: 249.9 kB / 461.7 MB, free: 17.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.247, allocations: 384 / 461.7 MB, free: 17.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.247, allocations: 3.406 kB / 461.7 MB, free: 17.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.329e-05/0.2471, allocations: 48.31 kB / 461.8 MB, free: 17.13 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.2472, allocations: 3.031 kB / 461.8 MB, free: 17.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.2472, allocations: 4.781 kB / 461.8 MB, free: 17.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2472, allocations: 3.938 kB / 461.8 MB, free: 17.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.586e-05/0.2472, allocations: 23.05 kB / 461.8 MB, free: 17.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.2476, allocations: 311 kB / 462.1 MB, free: 16.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.2479, allocations: 52.3 kB / 462.2 MB, free: 16.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.214e-05/0.2479, allocations: 20.25 kB / 462.2 MB, free: 16.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.2479, allocations: 2.969 kB / 462.2 MB, free: 16.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.529e-05/0.248, allocations: 39.02 kB / 462.2 MB, free: 16.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.248, allocations: 0 / 462.2 MB, free: 16.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.000189/0.2482, allocations: 74.31 kB / 462.3 MB, free: 16.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.2482, allocations: 52.06 kB / 462.4 MB, free: 16.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.2484, allocations: 234.3 kB / 462.6 MB, free: 16.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.2484, allocations: 25.7 kB / 462.6 MB, free: 16.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.083e-05/0.2485, allocations: 110.7 kB / 462.7 MB, free: 16.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.186e-05/0.2485, allocations: 16 kB / 462.7 MB, free: 16.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.2485, allocations: 17.91 kB / 462.7 MB, free: 16.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.433e-05/0.2486, allocations: 330.5 kB / 463.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.695e-05/0.2486, allocations: 11.31 kB / 463.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.132e-05/0.2486, allocations: 11.91 kB / 463.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.755e-05/0.2487, allocations: 29.86 kB / 463.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2487, allocations: 0 / 463.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.221e-05/0.2488, allocations: 69.89 kB / 463.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.2488, allocations: 5.609 kB / 463.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2488, allocations: 3.219 kB / 463.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.2489, allocations: 4.75 kB / 463.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.249, allocations: 12.91 kB / 463.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.249, allocations: 0.6094 kB / 463.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.2491, allocations: 10.86 kB / 463.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.2491, allocations: 4.703 kB / 463.2 MB, free: 15.89 MB / 350.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.824e-05/0.2492, allocations: 124.1 kB / 463.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.2492, allocations: 14.86 kB / 463.4 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.278e-05/0.2493, allocations: 14.45 kB / 463.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.2493, allocations: 2.906 kB / 463.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2493, allocations: 4 kB / 463.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.2493, allocations: 0.75 kB / 463.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.2495, allocations: 213.7 kB / 463.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2495, allocations: 0 / 463.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.978e-05/0.2496, allocations: 18.27 kB / 463.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2496, allocations: 0 / 463.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.2496, allocations: 4.188 kB / 463.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2496, allocations: 3.984 kB / 463.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2496, allocations: 0 / 463.6 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.2497, allocations: 167.7 kB / 463.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.2498, allocations: 95.31 kB / 463.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.2498, allocations: 3.609 kB / 463.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.25, allocations: 4.641 kB / 463.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.25, allocations: 1.359 kB / 463.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.25, allocations: 8.5 kB / 463.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.2502, allocations: 179.6 kB / 464.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2502, allocations: 0 / 464.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.2504, allocations: 19.53 kB / 464.1 MB, free: 15.14 MB / 350.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 0.0002432/0.2506, allocations: 0.694 MB / 464.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001123/0.2508, allocations: 34.95 kB / 464.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2508, allocations: 0 / 464.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.773e-05/0.2508, allocations: 15.03 kB / 464.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.2512, allocations: 16.14 kB / 464.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.253, allocations: 1.884 MB / 466.7 MB, free: 13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.2531, allocations: 0.7086 MB / 467.4 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.821e-05/0.2532, allocations: 10.31 kB / 467.5 MB, free: 12.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7e-05/0.2532, allocations: 38.52 kB / 467.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2532, allocations: 0 / 467.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/0.2779, allocations: 2.979 MB / 470.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.144/8.422, allocations: 16.36 kB / 470.5 MB, free: 11.78 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MagLev_MagLev_Examples_SteadyStateCharacteristic_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 MagLev_MagLev_Examples_SteadyStateCharacteristic.fmu > MagLev_MagLev.Examples.SteadyStateCharacteristic.pipe 2>&1)