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.001166/0.001166, allocations: 114.6 kB / 16.42 MB, free: 6.465 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.001194/0.001194, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.325/1.325, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MagLev 2.3.0-main/package.mo): time 0.02897/0.02897, allocations: 4.234 MB / 295.4 MB, free: 10.58 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.91 kB / 408.5 MB, free: 27.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07568/0.07696, allocations: 50.45 MB / 458.9 MB, free: 8.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(MagLev.Examples.Continuous.VoltageFed): time 0.006547/0.08354, allocations: 5.773 MB / 464.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00374/0.08731, allocations: 2.193 MB / 466.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000686/0.08802, allocations: 19.94 kB / 466.9 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.08906, allocations: 309 kB / 467.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008225/0.0899, allocations: 301.6 kB / 467.5 MB, free: 296 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.00114/0.09105, allocations: 443.2 kB / 468 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.09215, allocations: 1.25 MB / 469.2 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007547/0.09292, allocations: 0.6399 MB / 469.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004421/0.09337, allocations: 498 kB / 470.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008814/0.09426, allocations: 0.5388 MB / 470.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.09444, allocations: 144 kB / 471 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003972/0.09484, allocations: 255.8 kB / 471.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.09506, allocations: 287 kB / 471.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004652/0.09553, allocations: 0.5948 MB / 472.1 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.097, allocations: 1.549 MB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.09702, allocations: 0 / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09702, allocations: 0 / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.09704, allocations: 0 / 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.002312/0.09936, allocations: 1.44 MB / 475.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.0994, allocations: 8.031 kB / 475.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003231/0.09973, allocations: 140.1 kB / 475.3 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008422/0.1006, allocations: 0.6752 MB / 475.9 MB, free: 7.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.563e-05/0.1007, allocations: 74.06 kB / 476 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.1008, allocations: 95.95 kB / 476.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001295/0.1021, allocations: 0.8377 MB / 476.9 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.1021, allocations: 4 kB / 476.9 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.799e-05/0.1022, allocations: 36 kB / 477 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.1022, allocations: 20 kB / 477 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00103/0.1033, allocations: 0.5661 MB / 477.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004749/0.108, allocations: 3.272 MB / 480.8 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007357/0.1088, allocations: 488.6 kB / 481.3 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.1091, allocations: 152.8 kB / 481.5 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.1091, allocations: 4 kB / 481.5 MB, free: 1.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004148/0.1095, allocations: 258 kB / 481.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 2.324e-06/0.1095, allocations: 0 / 481.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.0009916/0.1105, allocations: 0.5059 MB / 482.2 MB, free: 1.207 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.772e-05/0.1106, allocations: 114.7 kB / 482.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008735/0.1115, allocations: 0.7626 MB / 483.1 MB, free: 304 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.126e-05/0.1115, allocations: 45.69 kB / 483.1 MB, free: 252 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000341/0.1119, allocations: 0.4961 MB / 483.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.112, allocations: 138.8 kB / 483.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.1122, allocations: 110.2 kB / 483.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1123, allocations: 326 kB / 484.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.1126, allocations: 199.1 kB / 484.4 MB, free: 14.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/0.1131, allocations: 344.4 kB / 484.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007444/0.1138, allocations: 0.5048 MB / 485.2 MB, free: 14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1138, allocations: 4 kB / 485.2 MB, free: 14 MB / 366.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001015/0.1149, allocations: 0.6324 MB / 485.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1149, allocations: 8 kB / 485.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.1149, allocations: 4 kB / 485.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.1149, allocations: 8 kB / 485.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005338/0.1155, allocations: 131.8 kB / 486 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.1155, allocations: 8 kB / 486 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004262/0.1159, allocations: 75.44 kB / 486.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.116, allocations: 20 kB / 486.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005237/0.1165, allocations: 373.3 kB / 486.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00038/0.1169, allocations: 333.4 kB / 486.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006486/0.1176, allocations: 0.4973 MB / 487.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.348e-06/0.1176, allocations: 8 kB / 487.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.0009184/0.1185, allocations: 0.6128 MB / 487.9 MB, free: 11.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.1185, allocations: 16.06 kB / 488 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1185, allocations: 4 kB / 488 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-06/0.1185, allocations: 8 kB / 488 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004973/0.119, allocations: 123.8 kB / 488.1 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.1191, allocations: 11.98 kB / 488.1 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000395/0.1195, allocations: 51.73 kB / 488.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/0.1195, allocations: 24 kB / 488.2 MB, free: 10.93 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.0001662/0.1197, allocations: 239.9 kB / 488.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.282e-05/0.1198, allocations: 79.48 kB / 488.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.1199, allocations: 71.31 kB / 488.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1199, allocations: 0 / 488.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1199, allocations: 4 kB / 488.6 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.1201, allocations: 168.5 kB / 488.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.1202, allocations: 16 kB / 488.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003492/0.1206, allocations: 23.98 kB / 488.8 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.1206, allocations: 19.97 kB / 488.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001176/0.1218, allocations: 0.5777 MB / 489.4 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001063/0.1229, allocations: 0.83 MB / 490.2 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002814/0.1232, allocations: 159.9 kB / 490.3 MB, free: 8.695 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000616/0.1238, allocations: 0.5302 MB / 490.9 MB, free: 8.168 MB / 366.1 MB Notification: Performance of Backend: time 4.61e-07/0.1238, allocations: 0 / 490.9 MB, free: 8.168 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.1255, allocations: 0.7401 MB / 491.6 MB, free: 7.453 MB / 366.1 MB Notification: Performance of SimCode: time 0.002763/0.1283, allocations: 2.205 MB / 493.8 MB, free: 5.199 MB / 366.1 MB Notification: Performance of Templates: time 0.01895/0.1472, allocations: 10.85 MB / 0.4928 GB, free: 10.41 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)