Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MagLev_MagLev.Examples.Continuous.VoltageFed.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: translateModel(MagLev.Examples.Continuous.VoltageFed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="MagLev_MagLev.Examples.Continuous.VoltageFed") translateModel(MagLev.Examples.Continuous.VoltageFed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="MagLev_MagLev.Examples.Continuous.VoltageFed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 118.1 kB / 16.42 MB, free: 6.027 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.001273/0.001273, allocations: 187.5 kB / 17.35 MB, free: 5.625 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.294/1.294, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0-main/package.mo): time 0.01916/0.01916, allocations: 4.229 MB / 295.4 MB, free: 10.59 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.89 kB / 408.5 MB, free: 27.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0715/0.07272, allocations: 50.46 MB / 458.9 MB, free: 8.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.Continuous.VoltageFed): time 0.006406/0.07916, allocations: 5.755 MB / 464.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002878/0.08206, allocations: 2.196 MB / 466.9 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002945/0.08236, allocations: 19.94 kB / 466.9 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007042/0.08308, allocations: 309 kB / 467.2 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004959/0.08358, allocations: 305.6 kB / 467.5 MB, free: 284 kB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0007986/0.08439, allocations: 447.2 kB / 468 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.08544, allocations: 1.247 MB / 469.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007343/0.08618, allocations: 0.6321 MB / 469.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004097/0.0866, allocations: 494 kB / 470.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008328/0.08744, allocations: 0.5443 MB / 470.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.08761, allocations: 144 kB / 471 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.08796, allocations: 251.8 kB / 471.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002156/0.08818, allocations: 291 kB / 471.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004648/0.08865, allocations: 0.5909 MB / 472.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.09004, allocations: 1.549 MB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.09005, allocations: 0 / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.09006, allocations: 0 / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.09008, allocations: 4 kB / 473.7 MB, free: 10.07 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.002292/0.09237, allocations: 1.444 MB / 475.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.09241, allocations: 8.031 kB / 475.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003128/0.09273, allocations: 140.1 kB / 475.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008497/0.09359, allocations: 0.6713 MB / 475.9 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.668e-05/0.09366, allocations: 74.11 kB / 476 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.09378, allocations: 91.95 kB / 476.1 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.0951, allocations: 0.8377 MB / 476.9 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.09514, allocations: 4 kB / 476.9 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.796e-05/0.09521, allocations: 36 kB / 477 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.09523, allocations: 24 kB / 477 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.09633, allocations: 0.5622 MB / 477.6 MB, free: 6.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004817/0.1012, allocations: 3.284 MB / 480.8 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007307/0.1019, allocations: 482.6 kB / 481.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.1022, allocations: 152.8 kB / 481.5 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.1022, allocations: 4 kB / 481.5 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004124/0.1027, allocations: 261.5 kB / 481.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 1.653e-06/0.1027, allocations: 0 / 481.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.0009994/0.1037, allocations: 0.502 MB / 482.2 MB, free: 1.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.1038, allocations: 122.7 kB / 482.3 MB, free: 1.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008816/0.1047, allocations: 0.7587 MB / 483.1 MB, free: 300 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.802e-05/0.1047, allocations: 49.69 kB / 483.2 MB, free: 244 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/0.1051, allocations: 0.4883 MB / 483.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.1052, allocations: 138.8 kB / 483.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.1053, allocations: 114.2 kB / 483.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1055, allocations: 326 kB / 484.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003596/0.1058, allocations: 195.1 kB / 484.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004432/0.1063, allocations: 350.9 kB / 484.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007656/0.1071, allocations: 0.5009 MB / 485.2 MB, free: 14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.1071, allocations: 4 kB / 485.2 MB, free: 14 MB / 366.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001033/0.1081, allocations: 0.6364 MB / 485.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1081, allocations: 8 kB / 485.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1082, allocations: 4 kB / 485.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.1082, allocations: 8 kB / 485.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/0.1087, allocations: 135.8 kB / 486 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.1087, allocations: 8 kB / 486 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.1091, allocations: 71.44 kB / 486.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.1092, allocations: 24 kB / 486.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005089/0.1097, allocations: 369.2 kB / 486.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000396/0.1101, allocations: 333.4 kB / 486.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000672/0.1108, allocations: 0.4973 MB / 487.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.747e-06/0.1108, allocations: 3.984 kB / 487.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.0009461/0.1118, allocations: 0.6207 MB / 487.9 MB, free: 11.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.1118, allocations: 12.09 kB / 488 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.1118, allocations: 4 kB / 488 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1118, allocations: 8 kB / 488 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/0.1123, allocations: 127.8 kB / 488.1 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.1123, allocations: 11.98 kB / 488.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003706/0.1127, allocations: 43.73 kB / 488.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.774e-05/0.1127, allocations: 27.98 kB / 488.2 MB, free: 10.92 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,coil.hallSensor.globalSeed.seed,coil.hallSensor.uniformNoise.actualGlobalSeed,coil.hallSensor.uniformNoise.localSeed,coil.hallSensor.globalSeed.id_impure,coil.hallSensor.uniformNoise.r_raw,$PRE.coil.hallSensor.uniformNoise.r_raw,coil.hallSensor.uniformNoise.r,$PRE.coil.hallSensor.uniformNoise.r,coil.hallSensor.uniformNoise.state[4],$PRE.coil.hallSensor.uniformNoise.state[4],coil.hallSensor.uniformNoise.state[3],$PRE.coil.hallSensor.uniformNoise.state[3],coil.hallSensor.uniformNoise.state[2],$PRE.coil.hallSensor.uniformNoise.state[2],coil.hallSensor.uniformNoise.state[1],$PRE.coil.hallSensor.uniformNoise.state[1],converter.hBridge.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 1 * 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 0.0001581/0.1129, allocations: 243.9 kB / 488.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.113, allocations: 79.48 kB / 488.5 MB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.1132, allocations: 79.3 kB / 488.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1132, allocations: 0 / 488.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1132, allocations: 0 / 488.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.1133, allocations: 168.5 kB / 488.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.621e-05/0.1134, allocations: 12 kB / 488.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.1138, allocations: 19.98 kB / 488.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/0.1139, allocations: 27.97 kB / 488.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001217/0.1151, allocations: 0.5855 MB / 489.4 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001105/0.1162, allocations: 0.8261 MB / 490.2 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002767/0.1165, allocations: 152 kB / 490.3 MB, free: 8.688 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006362/0.1171, allocations: 0.5303 MB / 490.9 MB, free: 8.16 MB / 366.1 MB Notification: Performance of Backend: time 1.774e-06/0.1171, allocations: 0 / 490.9 MB, free: 8.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.1188, allocations: 0.7466 MB / 491.6 MB, free: 7.438 MB / 366.1 MB Notification: Performance of SimCode: time 0.002649/0.1215, allocations: 2.19 MB / 493.8 MB, free: 5.195 MB / 366.1 MB Notification: Performance of Templates: time 0.01712/0.1386, allocations: 10.84 MB / 0.4928 GB, free: 10.4 MB / 382.1 MB make -j1 -f MagLev_MagLev.Examples.Continuous.VoltageFed.makefile (rm -f MagLev_MagLev.Examples.Continuous.VoltageFed.pipe ; mkfifo MagLev_MagLev.Examples.Continuous.VoltageFed.pipe ; head -c 1048576 < MagLev_MagLev.Examples.Continuous.VoltageFed.pipe >> ../files/MagLev_MagLev.Examples.Continuous.VoltageFed.sim & ./MagLev_MagLev.Examples.Continuous.VoltageFed -abortSlowSimulation -alarm=480 -lv LOG_STATS > MagLev_MagLev.Examples.Continuous.VoltageFed.pipe 2>&1)