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.1.0-main/package.mo", uses=false) Using package MagLev with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.1.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.0009262/0.0009262, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008783/0.0008784, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.247/1.247, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.1.0-main/package.mo): time 0.1541/0.1541, allocations: 3.911 MB / 294.9 MB, free: 4.262 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002871/0.0002873, allocations: 8 kB / 356.8 MB, free: 3.199 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09967/0.09997, allocations: 51.38 MB / 408.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.SteadyStateCharacteristic): time 0.001814/0.1018, allocations: 1.258 MB / 409.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009974/0.1029, allocations: 0.8109 MB / 410.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.1029, allocations: 4 kB / 410.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004265/0.1034, allocations: 143.5 kB / 410.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.006e-05/0.1035, allocations: 55.83 kB / 410.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.07e-05/0.1035, allocations: 7.984 kB / 410.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.1036, allocations: 91.78 kB / 410.6 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.71e-05/0.1037, allocations: 9.125 kB / 410.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.293e-05/0.1038, allocations: 51.77 kB / 410.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.1039, allocations: 71.67 kB / 410.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.1039, allocations: 4 kB / 410.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.219e-05/0.104, allocations: 8 kB / 410.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.167e-05/0.104, allocations: 19.91 kB / 410.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.104, allocations: 41.64 kB / 410.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.775e-05/0.1041, allocations: 76.03 kB / 410.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.1041, allocations: 0 / 410.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1042, allocations: 0 / 410.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1042, allocations: 0 / 410.9 MB, free: 13.11 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.0007588/0.1049, allocations: 450.6 kB / 411.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.105, allocations: 12.03 kB / 411.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.473e-05/0.105, allocations: 30.56 kB / 411.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.105, allocations: 15.77 kB / 411.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.1053, allocations: 227.8 kB / 411.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.1053, allocations: 4 kB / 411.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.1053, allocations: 4 kB / 411.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.292e-05/0.1054, allocations: 45.69 kB / 411.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.1054, allocations: 0 / 411.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1055, allocations: 0 / 411.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1055, allocations: 7.938 kB / 411.6 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.419e-05/0.1055, allocations: 23.94 kB / 411.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.1059, allocations: 308.8 kB / 412 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002691/0.1062, allocations: 58.7 kB / 412 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.1062, allocations: 3.984 kB / 412 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.1063, allocations: 34.56 kB / 412.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1063, allocations: 0 / 412.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001844/0.1065, allocations: 81.38 kB / 412.1 MB, free: 11.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.1065, allocations: 51.41 kB / 412.2 MB, free: 11.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.1067, allocations: 224.8 kB / 412.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.1068, allocations: 33.7 kB / 412.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.1069, allocations: 116 kB / 412.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.255e-05/0.1069, allocations: 11.89 kB / 412.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.1069, allocations: 7.938 kB / 412.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.107, allocations: 322.8 kB / 412.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/0.107, allocations: 8 kB / 412.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.006e-05/0.1071, allocations: 8 kB / 412.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.304e-05/0.1071, allocations: 19.92 kB / 412.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1071, allocations: 0 / 412.9 MB, free: 10.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.988e-05/0.1072, allocations: 69.45 kB / 413 MB, free: 10.75 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1072, allocations: 8 kB / 413 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1073, allocations: 3.984 kB / 413 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1073, allocations: 3.953 kB / 413 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1074, allocations: 15.98 kB / 413 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1074, allocations: 0 / 413 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.1075, allocations: 4.188 kB / 413 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/0.1075, allocations: 8 kB / 413 MB, free: 10.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.951e-05/0.1076, allocations: 113.8 kB / 413.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.507e-05/0.1077, allocations: 11.81 kB / 413.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.542e-05/0.1077, allocations: 20.92 kB / 413.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1077, allocations: 0 / 413.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.1077, allocations: 3.953 kB / 413.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.1077, allocations: 4 kB / 413.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.1079, allocations: 217.5 kB / 413.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1079, allocations: 0 / 413.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.436e-05/0.108, allocations: 15.92 kB / 413.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.108, allocations: 0 / 413.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.1081, allocations: 0 / 413.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1081, allocations: 0 / 413.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1081, allocations: 4 kB / 413.4 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.1082, allocations: 167.3 kB / 413.6 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.045e-05/0.1083, allocations: 96.91 kB / 413.7 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.1083, allocations: 0 / 413.7 MB, free: 9.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.1085, allocations: 4 kB / 413.7 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.1085, allocations: 0 / 413.7 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.1085, allocations: 8 kB / 413.7 MB, free: 9.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001628/0.1087, allocations: 184.4 kB / 413.9 MB, free: 9.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1087, allocations: 0 / 413.9 MB, free: 9.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002236/0.1089, allocations: 16 kB / 413.9 MB, free: 9.758 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003671/0.1093, allocations: 0.6927 MB / 414.6 MB, free: 9.035 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 8.639e-05/0.1094, allocations: 27.98 kB / 414.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1094, allocations: 8 kB / 414.6 MB, free: 9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.651e-05/0.1094, allocations: 19.92 kB / 414.6 MB, free: 8.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.1097, allocations: 15.88 kB / 414.6 MB, free: 8.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.1111, allocations: 0.9138 MB / 415.6 MB, free: 8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.1113, allocations: 0.7121 MB / 416.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.443e-05/0.1114, allocations: 12.8 kB / 416.3 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.44e-05/0.1114, allocations: 39.41 kB / 416.3 MB, free: 7.211 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1114, allocations: 0 / 416.3 MB, free: 7.211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0116/0.1231, allocations: 2.615 MB / 418.9 MB, free: 4.699 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/0.1232, allocations: 172.2 kB / 419.1 MB, free: 4.457 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.506/1.629, allocations: 0 / 419.1 MB, free: 4.457 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/linux/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) Environment - environmentSimulation: