Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0009029/0.0009029, allocations: 95.83 kB / 16.65 MB, free: 6.59 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.001038/0.001038, allocations: 181.4 kB / 17.56 MB, free: 6.203 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.431/1.431, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.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.0004693/0.0004695, allocations: 12 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09865/0.09913, allocations: 47.58 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.006987/0.1062, allocations: 5.938 MB / 334.3 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004941/0.1111, allocations: 2.47 MB / 336.7 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005371/0.1117, allocations: 23.94 kB / 336.8 MB, free: 11.28 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009039/0.1126, allocations: 342.4 kB / 337.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00157/0.1142, allocations: 0.6376 MB / 337.7 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001986/0.1162, allocations: 1.028 MB / 338.8 MB, free: 9.273 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001222/0.1174, allocations: 1.051 MB / 339.8 MB, free: 8.215 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002015/0.1195, allocations: 1.326 MB / 341.1 MB, free: 6.836 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004445/0.1199, allocations: 386.3 kB / 341.5 MB, free: 6.457 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005423/0.1205, allocations: 497.7 kB / 342 MB, free: 5.969 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.752e-05/0.1206, allocations: 48 kB / 342 MB, free: 5.922 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007265/0.1213, allocations: 347.6 kB / 342.4 MB, free: 5.582 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.1215, allocations: 183.1 kB / 342.6 MB, free: 5.402 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000399/0.1219, allocations: 0.4912 MB / 343 MB, free: 4.902 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.1232, allocations: 1.44 MB / 344.5 MB, free: 3.457 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1232, allocations: 0 / 344.5 MB, free: 3.457 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1232, allocations: 4 kB / 344.5 MB, free: 3.453 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.1233, allocations: 0 / 344.5 MB, free: 3.453 MB / 286.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.003951/0.1272, allocations: 1.449 MB / 345.9 MB, free: 1.953 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.1273, allocations: 16.03 kB / 346 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003918/0.1312, allocations: 0.5772 MB / 346.5 MB, free: 1.359 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008203/0.132, allocations: 0.4902 MB / 347 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/0.1321, allocations: 90.23 kB / 347.1 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.1323, allocations: 119.9 kB / 347.2 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.1343, allocations: 1.015 MB / 348.2 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/0.1344, allocations: 7.938 kB / 348.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.931e-05/0.1345, allocations: 44 kB / 348.3 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/0.1345, allocations: 28 kB / 348.3 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.1365, allocations: 1.044 MB / 349.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00586/0.1423, allocations: 3.881 MB / 353.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002287/0.1446, allocations: 2.064 MB / 355.3 MB, free: 8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007673/0.1454, allocations: 435.7 kB / 355.7 MB, free: 7.574 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.1455, allocations: 106.2 kB / 355.8 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008511/0.1464, allocations: 490.3 kB / 356.3 MB, free: 6.945 MB / 302.1 MB Notification: Performance of pre-optimization done (n=98): time 2.515e-06/0.1464, allocations: 0 / 356.3 MB, free: 6.945 MB / 302.1 MB Notification: Performance of matching and sorting (n=127): time 0.0091/0.1555, allocations: 4.068 MB / 360.4 MB, free: 2.758 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.068e-05/0.1556, allocations: 149.5 kB / 360.5 MB, free: 2.582 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005349/0.1562, allocations: 413.7 kB / 360.9 MB, free: 2.172 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.592e-05/0.1563, allocations: 45.7 kB / 361 MB, free: 2.121 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003576/0.1566, allocations: 447.5 kB / 361.4 MB, free: 1.676 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003079/0.1569, allocations: 429.7 kB / 361.8 MB, free: 1.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.1571, allocations: 101.7 kB / 361.9 MB, free: 1.145 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.1573, allocations: 386.7 kB / 362.3 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006919/0.158, allocations: 358.5 kB / 362.7 MB, free: 416 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008695/0.1588, allocations: 0.5916 MB / 363.3 MB, free: 15.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001636/0.1605, allocations: 1.009 MB / 364.3 MB, free: 14.65 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.1605, allocations: 0 / 364.3 MB, free: 14.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002709/0.1632, allocations: 1.433 MB / 365.7 MB, free: 13.2 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.1633, allocations: 11.94 kB / 365.7 MB, free: 13.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.1633, allocations: 8 kB / 365.7 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009039/0.1642, allocations: 359.1 kB / 366.1 MB, free: 12.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008861/0.1651, allocations: 223.7 kB / 366.3 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007739/0.1728, allocations: 7.746 MB / 374 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.174, allocations: 51.98 kB / 374.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.771e-05/0.1741, allocations: 56 kB / 374.1 MB, free: 4.207 MB / 318.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.0006277/0.1747, allocations: 257.6 kB / 374.4 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.1749, allocations: 75.16 kB / 374.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002635/0.1775, allocations: 1.333 MB / 375.8 MB, free: 2.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.1776, allocations: 12 kB / 375.8 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.1776, allocations: 11.94 kB / 375.8 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.1776, allocations: 7.969 kB / 375.8 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1864/0.364, allocations: 2.578 MB / 378.4 MB, free: 50.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.3641, allocations: 1.375 kB / 378.4 MB, free: 50.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008491/0.3649, allocations: 157.7 kB / 378.6 MB, free: 50.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008952/0.3659, allocations: 323.9 kB / 378.9 MB, free: 50.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-05/0.3659, allocations: 27.69 kB / 378.9 MB, free: 50.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006456/0.3724, allocations: 7.451 MB / 386.4 MB, free: 45.19 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3724, allocations: 1.5 kB / 386.4 MB, free: 45.19 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003434/0.3759, allocations: 1.845 MB / 388.2 MB, free: 44.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004002/0.3763, allocations: 224 kB / 388.4 MB, free: 44.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.3764, allocations: 27.25 kB / 388.4 MB, free: 44.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005427/0.377, allocations: 39.86 kB / 388.5 MB, free: 44.3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003516/0.3773, allocations: 100.2 kB / 388.6 MB, free: 44.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.939e-05/0.3774, allocations: 35.81 kB / 388.6 MB, free: 44.28 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004847/0.3779, allocations: 279.4 kB / 388.9 MB, free: 44.15 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3779, allocations: 1.156 kB / 388.9 MB, free: 44.15 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001747/0.3797, allocations: 316.2 kB / 389.2 MB, free: 44.1 MB / 318.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.0004226/0.3801, allocations: 178.9 kB / 389.4 MB, free: 43.98 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003412/0.3835, allocations: 1.65 MB / 391 MB, free: 43.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3836, allocations: 3.719 kB / 391 MB, free: 43.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001673/0.3852, allocations: 1.152 MB / 392.2 MB, free: 42.36 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.3859, allocations: 75.77 kB / 392.3 MB, free: 42.31 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/0.39, allocations: 2.558 MB / 394.8 MB, free: 40.79 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000619/0.3906, allocations: 1.024 MB / 395.8 MB, free: 40.08 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005382/0.3912, allocations: 108.2 kB / 395.9 MB, free: 40.03 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.3914, allocations: 58.12 kB / 396 MB, free: 40.02 MB / 318.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3914, allocations: 0 / 396 MB, free: 40.02 MB / 318.1 MB Notification: Performance of Templates: time 0.01746/0.4088, allocations: 10.42 MB / 406.4 MB, free: 35.69 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1)