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.001266/0.001266, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001492/0.001492, allocations: 194.8 kB / 16.14 MB, free: 6.66 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.26/1.26, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0-main/package.mo): time 2.632/2.632, allocations: 4.225 MB / 294.2 MB, free: 3.332 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 63.91 kB / 355.5 MB, free: 3.336 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09675/0.09794, allocations: 50.47 MB / 406 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.002421/0.1004, allocations: 1.662 MB / 407.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.1015, allocations: 0.8683 MB / 408.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.368e-05/0.1016, allocations: 0 / 408.5 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005362/0.1021, allocations: 165 kB / 408.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.599e-05/0.1022, allocations: 55.67 kB / 408.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.676e-05/0.1022, allocations: 7.922 kB / 408.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.1024, allocations: 135.4 kB / 408.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.1025, allocations: 9.109 kB / 408.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.439e-05/0.1025, allocations: 55.72 kB / 408.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.1027, allocations: 63.69 kB / 409 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.1027, allocations: 8 kB / 409 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.446e-05/0.1027, allocations: 4 kB / 409 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.809e-05/0.1028, allocations: 27.83 kB / 409 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/0.1028, allocations: 51.66 kB / 409.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.103, allocations: 103.9 kB / 409.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.103, allocations: 0 / 409.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.103, allocations: 3.938 kB / 409.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.103, allocations: 3.938 kB / 409.2 MB, free: 13.59 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.0008373/0.1038, allocations: 454.7 kB / 409.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.1039, allocations: 12.03 kB / 409.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.899e-05/0.1039, allocations: 34.73 kB / 409.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.104, allocations: 16.75 kB / 409.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.1042, allocations: 244.9 kB / 409.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.1043, allocations: 384 / 409.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.1043, allocations: 4.375 kB / 409.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.1044, allocations: 45.81 kB / 410 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.1044, allocations: 0 / 410 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.1044, allocations: 4 kB / 410 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1044, allocations: 0 / 410 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.564e-05/0.1045, allocations: 19.98 kB / 410 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.1049, allocations: 324.7 kB / 410.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.1053, allocations: 54.55 kB / 410.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.529e-05/0.1053, allocations: 20.84 kB / 410.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.1053, allocations: 0 / 410.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.1054, allocations: 30.56 kB / 410.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1054, allocations: 4 kB / 410.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002019/0.1056, allocations: 77.52 kB / 410.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.1056, allocations: 51.41 kB / 410.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002442/0.1059, allocations: 228.8 kB / 410.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1059, allocations: 29.7 kB / 410.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.106, allocations: 112 kB / 410.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.106, allocations: 15.8 kB / 410.9 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/0.106, allocations: 17.72 kB / 410.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1062, allocations: 334.8 kB / 411.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.711e-05/0.1062, allocations: 11.98 kB / 411.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.128e-05/0.1062, allocations: 8 kB / 411.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.359e-05/0.1063, allocations: 32.86 kB / 411.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1063, allocations: 0 / 411.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001157/0.1064, allocations: 65.53 kB / 411.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1064, allocations: 10.03 kB / 411.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1064, allocations: 0 / 411.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1065, allocations: 0 / 411.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.1066, allocations: 15.98 kB / 411.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.1066, allocations: 7.938 kB / 411.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.1067, allocations: 7.891 kB / 411.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.1067, allocations: 0 / 411.4 MB, free: 11.11 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 9.437e-05/0.1068, allocations: 121.7 kB / 411.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.1069, allocations: 11.91 kB / 411.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/0.1069, allocations: 24.86 kB / 411.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1069, allocations: 0 / 411.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1069, allocations: 0 / 411.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1069, allocations: 0 / 411.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.1072, allocations: 213.4 kB / 411.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.1072, allocations: 0 / 411.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.1073, allocations: 15.98 kB / 411.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1073, allocations: 3.938 kB / 411.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.1073, allocations: 3.984 kB / 411.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.1073, allocations: 0 / 411.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1073, allocations: 0 / 411.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.1075, allocations: 163.6 kB / 412 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.286e-05/0.1076, allocations: 100.9 kB / 412.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.1076, allocations: 4 kB / 412.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.1078, allocations: 7.984 kB / 412.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.1078, allocations: 0 / 412.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.1078, allocations: 0 / 412.1 MB, free: 10.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001708/0.108, allocations: 184.5 kB / 412.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.108, allocations: 0 / 412.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.1082, allocations: 16 kB / 412.3 MB, free: 10.16 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.000414/0.1086, allocations: 0.7005 MB / 413 MB, free: 9.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.1088, allocations: 31.98 kB / 413 MB, free: 9.398 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1088, allocations: 0 / 413 MB, free: 9.398 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.095e-05/0.1088, allocations: 19.92 kB / 413 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.1092, allocations: 19.92 kB / 413 MB, free: 9.359 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.1113, allocations: 1.918 MB / 415 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.1116, allocations: 0.7008 MB / 415.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.389e-05/0.1117, allocations: 12.41 kB / 415.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.783e-05/0.1118, allocations: 39.42 kB / 415.7 MB, free: 6.586 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1118, allocations: 0 / 415.7 MB, free: 6.586 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.1287, allocations: 2.79 MB / 418.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/0.1289, allocations: 179.3 kB / 418.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/1.869, allocations: 0 / 418.7 MB, free: 3.609 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)