Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007025/0.007024, allocations: 99 kB / 15.73 MB, free: 6.008 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.001464/0.001464, allocations: 192.2 kB / 16.67 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 45.22 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09647/0.09768, allocations: 46.63 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.007983/0.1057, allocations: 6.441 MB / 379.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005002/0.1107, allocations: 2.593 MB / 382.2 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008604/0.1117, allocations: 19.94 kB / 382.2 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00326/0.1149, allocations: 1.279 MB / 383.5 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002343/0.1173, allocations: 0.7068 MB / 384.2 MB, free: 6.227 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.1197, allocations: 1.113 MB / 385.3 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001417/0.1211, allocations: 1.09 MB / 386.4 MB, free: 4.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/0.1224, allocations: 0.9031 MB / 387.3 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005422/0.1229, allocations: 450.3 kB / 387.8 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006933/0.1236, allocations: 0.5562 MB / 388.3 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.1238, allocations: 96 kB / 388.4 MB, free: 2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008875/0.1247, allocations: 411.6 kB / 388.8 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.1249, allocations: 243.1 kB / 389 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004964/0.1254, allocations: 0.5247 MB / 389.6 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.1272, allocations: 1.533 MB / 391.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1272, allocations: 0 / 391.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1272, allocations: 0 / 391.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.1272, allocations: 0 / 391.1 MB, free: 15.29 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004109/0.1313, allocations: 1.681 MB / 392.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1314, allocations: 12.03 kB / 392.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003876/0.1353, allocations: 0.5778 MB / 393.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006676/0.136, allocations: 0.4982 MB / 393.9 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-05/0.136, allocations: 86.3 kB / 394 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/0.1362, allocations: 116 kB / 394.1 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.1381, allocations: 1.003 MB / 395.1 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/0.1381, allocations: 11.94 kB / 395.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.295e-05/0.1382, allocations: 44 kB / 395.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.291e-05/0.1382, allocations: 31.98 kB / 395.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.1402, allocations: 1.024 MB / 396.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005856/0.1461, allocations: 3.844 MB / 400 MB, free: 6.008 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002288/0.1484, allocations: 2.06 MB / 402.1 MB, free: 3.668 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007969/0.1492, allocations: 447.5 kB / 402.5 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.1493, allocations: 102.2 kB / 402.6 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009003/0.1502, allocations: 482.4 kB / 403.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 2.685e-06/0.1502, allocations: 0 / 403.1 MB, free: 2.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=127): time 0.009273/0.1595, allocations: 4.047 MB / 407.1 MB, free: 14.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/0.1596, allocations: 145.5 kB / 407.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004478/0.1601, allocations: 413.9 kB / 407.7 MB, free: 13.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.509e-05/0.1601, allocations: 45.7 kB / 407.7 MB, free: 13.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003089/0.1605, allocations: 452.9 kB / 408.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003306/0.1608, allocations: 460 kB / 408.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003192/0.1611, allocations: 222.9 kB / 408.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.1613, allocations: 382.7 kB / 409.2 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007373/0.1621, allocations: 366.4 kB / 409.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008649/0.1629, allocations: 0.5838 MB / 410.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/0.1646, allocations: 1.005 MB / 411.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1646, allocations: 0 / 411.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002575/0.1672, allocations: 1.441 MB / 412.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.1672, allocations: 8 kB / 412.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.1673, allocations: 8 kB / 412.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008486/0.1681, allocations: 351 kB / 413 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000866/0.169, allocations: 219.7 kB / 413.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007928/0.1769, allocations: 8.486 MB / 421.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000704/0.1776, allocations: 59.98 kB / 421.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-05/0.1777, allocations: 48 kB / 421.8 MB, free: 15 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y,$PRE.rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,4,100.0%), (1,2,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004223/0.1782, allocations: 261.5 kB / 422 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.1783, allocations: 79.52 kB / 422.1 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00262/0.1809, allocations: 1.321 MB / 423.4 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.1809, allocations: 23.94 kB / 423.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.1809, allocations: 7.938 kB / 423.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.181, allocations: 7.984 kB / 423.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004112/0.1851, allocations: 2.553 MB / 426 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.1851, allocations: 0 / 426 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006991/0.1858, allocations: 155.7 kB / 426.2 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009032/0.1867, allocations: 335.2 kB / 426.5 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.284e-05/0.1868, allocations: 24 kB / 426.5 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007543/0.1944, allocations: 8.116 MB / 434.6 MB, free: 1.449 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1944, allocations: 4.062 kB / 434.6 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003228/0.1976, allocations: 1.841 MB / 436.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003291/0.198, allocations: 232.5 kB / 436.7 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.382e-05/0.1981, allocations: 32.28 kB / 436.7 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005189/0.1986, allocations: 39.92 kB / 436.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.1988, allocations: 100.9 kB / 436.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.42e-05/0.1988, allocations: 39.97 kB / 436.9 MB, free: 15.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003033/0.1992, allocations: 275.2 kB / 437.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1992, allocations: 0 / 437.2 MB, free: 14.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001202/0.2004, allocations: 331.9 kB / 437.5 MB, free: 14.51 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (coil.i,rootMeanSquare.mean.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 2 ($whenCondition1,rootMeanSquare.mean.y) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,19,100.0%), (1,2,100.0%), (1,4,100.0%), (1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000309/0.2007, allocations: 174.9 kB / 437.7 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002845/0.2035, allocations: 1.641 MB / 439.3 MB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2036, allocations: 4.062 kB / 439.3 MB, free: 12.63 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001627/0.2052, allocations: 1.142 MB / 440.5 MB, free: 11.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.2057, allocations: 73.55 kB / 440.5 MB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003827/0.2095, allocations: 2.016 MB / 442.5 MB, free: 9.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006689/0.2102, allocations: 1.028 MB / 443.6 MB, free: 8.246 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004088/0.2106, allocations: 98.45 kB / 443.7 MB, free: 8.145 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.2108, allocations: 63.42 kB / 443.7 MB, free: 8.086 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2108, allocations: 0 / 443.7 MB, free: 8.086 MB / 382.1 MB Notification: Performance of Templates: time 0.2246/0.4354, allocations: 11.26 MB / 455 MB, free: 68.86 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1)