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.001229/0.001229, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001253/0.001253, allocations: 195.7 kB / 16.25 MB, free: 6.621 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.234/1.234, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0-main/package.mo): time 0.1208/0.1208, allocations: 4.227 MB / 294.3 MB, free: 3.262 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 55.91 kB / 355.7 MB, free: 3.148 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07611/0.07731, allocations: 50.46 MB / 406.1 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.002532/0.07987, allocations: 1.678 MB / 407.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.08102, allocations: 0.8683 MB / 408.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.606e-05/0.0811, allocations: 4 kB / 408.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005158/0.08162, allocations: 161.3 kB / 408.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.08176, allocations: 55.72 kB / 408.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.22e-05/0.0818, allocations: 0 / 408.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.08195, allocations: 143.3 kB / 409 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.563e-05/0.082, allocations: 9.125 kB / 409 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.429e-05/0.08208, allocations: 55.77 kB / 409.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.0822, allocations: 79.61 kB / 409.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.08223, allocations: 8 kB / 409.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.492e-05/0.08226, allocations: 12 kB / 409.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.08229, allocations: 15.92 kB / 409.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.544e-05/0.08236, allocations: 63.59 kB / 409.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.08249, allocations: 95.86 kB / 409.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.0825, allocations: 0 / 409.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.0825, allocations: 7.938 kB / 409.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.08251, allocations: 0 / 409.4 MB, free: 13.38 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.0007659/0.08328, allocations: 458.7 kB / 409.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.08332, allocations: 8.031 kB / 409.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.205e-05/0.08336, allocations: 38.75 kB / 409.9 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.08342, allocations: 12.75 kB / 409.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.08367, allocations: 240.9 kB / 410.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.08369, allocations: 4.375 kB / 410.1 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.0837, allocations: 8.312 kB / 410.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.03e-05/0.0838, allocations: 49.81 kB / 410.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.08381, allocations: 0 / 410.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.08383, allocations: 0 / 410.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.08383, allocations: 0 / 410.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.283e-05/0.08389, allocations: 19.98 kB / 410.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.08428, allocations: 324.7 kB / 410.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.08458, allocations: 58.48 kB / 410.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/0.08462, allocations: 16.86 kB / 410.6 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.08464, allocations: 0 / 410.6 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.08466, allocations: 30.56 kB / 410.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.08467, allocations: 0 / 410.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001816/0.08486, allocations: 73.58 kB / 410.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.0849, allocations: 59.41 kB / 410.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002261/0.08513, allocations: 224.8 kB / 411 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.08516, allocations: 33.64 kB / 411 MB, free: 11.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/0.08522, allocations: 112 kB / 411.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.08524, allocations: 19.8 kB / 411.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.08529, allocations: 21.7 kB / 411.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.0854, allocations: 322.8 kB / 411.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.648e-05/0.08543, allocations: 12 kB / 411.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.248e-05/0.08546, allocations: 12.12 kB / 411.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.543e-05/0.08552, allocations: 32.84 kB / 411.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.08552, allocations: 0 / 411.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001087/0.08564, allocations: 65.78 kB / 411.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.08567, allocations: 8 kB / 411.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.08568, allocations: 0 / 411.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.08569, allocations: 3.984 kB / 411.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.08582, allocations: 19.86 kB / 411.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.08584, allocations: 4 kB / 411.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.08597, allocations: 11.91 kB / 411.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.08598, allocations: 0 / 411.6 MB, free: 10.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 7.671e-05/0.08606, allocations: 121.7 kB / 411.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.834e-05/0.08611, allocations: 15.89 kB / 411.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.08614, allocations: 12.94 kB / 411.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.08615, allocations: 0 / 411.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.08616, allocations: 0 / 411.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.08616, allocations: 0 / 411.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002037/0.08637, allocations: 217.4 kB / 412 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.08638, allocations: 0 / 412 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.08651, allocations: 19.98 kB / 412 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.08651, allocations: 0 / 412 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.08653, allocations: 0 / 412 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.08653, allocations: 0 / 412 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.08654, allocations: 0 / 412 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.08668, allocations: 167.3 kB / 412.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.457e-05/0.08676, allocations: 96.91 kB / 412.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.647e-05/0.08679, allocations: 0 / 412.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.08697, allocations: 16.06 kB / 412.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.087, allocations: 7.922 kB / 412.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.159e-06/0.08701, allocations: 0 / 412.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.08717, allocations: 176.5 kB / 412.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.08718, allocations: 4 kB / 412.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000253/0.08744, allocations: 20 kB / 412.5 MB, free: 9.934 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.0003706/0.08781, allocations: 0.6927 MB / 413.2 MB, free: 9.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.08792, allocations: 35.97 kB / 413.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.08793, allocations: 0 / 413.2 MB, free: 9.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.872e-05/0.08797, allocations: 12 kB / 413.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.08829, allocations: 19.92 kB / 413.2 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/0.09039, allocations: 1.917 MB / 415.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.09064, allocations: 0.7041 MB / 415.9 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.029e-05/0.09071, allocations: 12.59 kB / 415.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.023e-05/0.09079, allocations: 35.42 kB / 415.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.09079, allocations: 4 kB / 415.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01228/0.1031, allocations: 2.863 MB / 418.8 MB, free: 3.594 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/0.1033, allocations: 178.8 kB / 419 MB, free: 3.344 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/1.806, allocations: 0 / 419 MB, free: 3.344 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)