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.001153/0.001153, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 197.9 kB / 16.54 MB, free: 6.672 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0-main/package.mo): time 0.1799/0.1799, allocations: 4.229 MB / 294.6 MB, free: 3.297 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 63.89 kB / 356.2 MB, free: 2.801 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08847/0.08981, allocations: 50.48 MB / 406.7 MB, free: 284 kB / 334.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.002653/0.09249, allocations: 1.612 MB / 408.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.09379, allocations: 0.876 MB / 409.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.409e-05/0.09389, allocations: 0 / 409.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.09448, allocations: 165.3 kB / 409.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.09463, allocations: 59.62 kB / 409.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.631e-05/0.0947, allocations: 11.97 kB / 409.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.09487, allocations: 143.3 kB / 409.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.09493, allocations: 5.125 kB / 409.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.079e-05/0.09501, allocations: 55.78 kB / 409.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.09515, allocations: 71.67 kB / 409.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.09518, allocations: 8 kB / 409.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.693e-05/0.09522, allocations: 15.94 kB / 409.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.356e-05/0.09525, allocations: 27.84 kB / 409.7 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.318e-05/0.09532, allocations: 55.66 kB / 409.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001485/0.09548, allocations: 99.86 kB / 409.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.09549, allocations: 0 / 409.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.09549, allocations: 0 / 409.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.0955, allocations: 0 / 409.9 MB, free: 13.06 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.0008071/0.09631, allocations: 458.7 kB / 410.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.09636, allocations: 15.97 kB / 410.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.686e-05/0.0964, allocations: 38.75 kB / 410.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.806e-05/0.09646, allocations: 16.75 kB / 410.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.09671, allocations: 244.8 kB / 410.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.09673, allocations: 4.375 kB / 410.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.09675, allocations: 4.375 kB / 410.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.09686, allocations: 49.81 kB / 410.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.09687, allocations: 0 / 410.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.09689, allocations: 0 / 410.7 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.0969, allocations: 4 kB / 410.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.161e-05/0.09696, allocations: 15.98 kB / 410.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004021/0.09737, allocations: 320.7 kB / 411 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.09768, allocations: 58.55 kB / 411.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.362e-05/0.09773, allocations: 16.86 kB / 411.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.09775, allocations: 0 / 411.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.09778, allocations: 34.56 kB / 411.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.09779, allocations: 4 kB / 411.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001952/0.09799, allocations: 69.58 kB / 411.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.09803, allocations: 55.34 kB / 411.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/0.09827, allocations: 232.8 kB / 411.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.0983, allocations: 25.7 kB / 411.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.77e-05/0.09838, allocations: 116 kB / 411.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.341e-05/0.0984, allocations: 11.81 kB / 411.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.09844, allocations: 21.7 kB / 411.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.09856, allocations: 326.8 kB / 411.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.522e-05/0.09859, allocations: 8 kB / 412 MB, free: 10.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.309e-05/0.09862, allocations: 15.98 kB / 412 MB, free: 10.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.45e-05/0.09869, allocations: 28.86 kB / 412 MB, free: 10.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.09869, allocations: 0 / 412 MB, free: 10.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001249/0.09882, allocations: 73.53 kB / 412.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.09884, allocations: 4 kB / 412.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.09885, allocations: 0 / 412.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.09887, allocations: 192 / 412.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.099, allocations: 16.17 kB / 412.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.09901, allocations: 0 / 412.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.09914, allocations: 7.906 kB / 412.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.09915, allocations: 11.92 kB / 412.1 MB, free: 10.57 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 8.968e-05/0.09925, allocations: 129.7 kB / 412.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.09929, allocations: 7.906 kB / 412.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.09933, allocations: 16.94 kB / 412.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.09934, allocations: 0 / 412.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.09935, allocations: 0 / 412.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.09936, allocations: 7.984 kB / 412.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.09956, allocations: 209.4 kB / 412.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.09957, allocations: 0 / 412.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.09968, allocations: 15.92 kB / 412.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.0997, allocations: 0 / 412.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.09971, allocations: 4 kB / 412.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.09971, allocations: 0 / 412.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.09972, allocations: 0 / 412.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.09989, allocations: 171.3 kB / 412.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.874e-05/0.09995, allocations: 92.91 kB / 412.8 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.09999, allocations: 4 kB / 412.8 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.1002, allocations: 4 kB / 412.8 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.1002, allocations: 7.984 kB / 412.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.1002, allocations: 4 kB / 412.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001673/0.1004, allocations: 176.5 kB / 412.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1004, allocations: 0 / 412.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002408/0.1006, allocations: 20 kB / 413 MB, free: 9.617 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.0003907/0.101, allocations: 0.6966 MB / 413.7 MB, free: 8.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.1011, allocations: 35.98 kB / 413.7 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1011, allocations: 0 / 413.7 MB, free: 8.855 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.776e-05/0.1012, allocations: 11.94 kB / 413.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.1015, allocations: 19.98 kB / 413.7 MB, free: 8.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.1037, allocations: 1.886 MB / 415.6 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.104, allocations: 0.7079 MB / 416.3 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.709e-05/0.1041, allocations: 8.609 kB / 416.3 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.233e-05/0.1041, allocations: 35.42 kB / 416.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1041, allocations: 0 / 416.4 MB, free: 6.078 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.1233, allocations: 2.936 MB / 419.3 MB, free: 3.188 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.412/7.536, allocations: 12.53 kB / 419.3 MB, free: 3.176 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)