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.001421/0.001421, allocations: 104.7 kB / 17.06 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.001422/0.001422, allocations: 196 kB / 18 MB, free: 5.105 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.37/1.37, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001297/0.001297, allocations: 47.94 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08934/0.09065, allocations: 46.62 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.2235/0.3142, allocations: 6.45 MB / 380.9 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003987/0.3182, allocations: 2.586 MB / 383.5 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004749/0.3187, allocations: 19.06 kB / 383.5 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002818/0.3216, allocations: 1.287 MB / 384.8 MB, free: 8.328 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001791/0.3234, allocations: 0.705 MB / 385.5 MB, free: 7.941 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.3254, allocations: 1.1 MB / 386.6 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001203/0.3266, allocations: 1.096 MB / 387.7 MB, free: 6.707 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.3278, allocations: 0.9016 MB / 388.6 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006117/0.3285, allocations: 452.2 kB / 389.1 MB, free: 6.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007151/0.3292, allocations: 0.5578 MB / 389.6 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001805/0.3294, allocations: 97.75 kB / 389.7 MB, free: 5.73 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.3306, allocations: 413.6 kB / 390.1 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.3308, allocations: 234.3 kB / 390.3 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004453/0.3312, allocations: 0.5304 MB / 390.9 MB, free: 5.117 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.333, allocations: 1.52 MB / 392.4 MB, free: 4.473 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.333, allocations: 1.156 kB / 392.4 MB, free: 4.473 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.333, allocations: 0 / 392.4 MB, free: 4.473 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.333, allocations: 4 kB / 392.4 MB, free: 4.469 MB / 318.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.004246/0.3373, allocations: 1.653 MB / 394.1 MB, free: 3.516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.3373, allocations: 10.19 kB / 394.1 MB, free: 3.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003791/0.3411, allocations: 0.5712 MB / 394.6 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007013/0.3418, allocations: 0.4963 MB / 395.1 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.063e-05/0.3419, allocations: 89.61 kB / 395.2 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.3421, allocations: 115.4 kB / 395.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.344, allocations: 1.01 MB / 396.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.384e-05/0.3441, allocations: 2.859 kB / 396.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.961e-05/0.3442, allocations: 44.94 kB / 396.4 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.3442, allocations: 28.34 kB / 396.4 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001891/0.3461, allocations: 1.032 MB / 397.5 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005779/0.3519, allocations: 3.838 MB / 401.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/0.3545, allocations: 2.054 MB / 403.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008306/0.3553, allocations: 447.9 kB / 403.8 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.3555, allocations: 100.3 kB / 403.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008588/0.3563, allocations: 489.7 kB / 404.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 2.846e-06/0.3563, allocations: 0 / 404.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=127): time 0.009408/0.3658, allocations: 4.02 MB / 408.4 MB, free: 10.76 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.866e-05/0.3659, allocations: 142.8 kB / 408.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005386/0.3664, allocations: 413.8 kB / 408.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.909e-05/0.3665, allocations: 50.39 kB / 409 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000302/0.3668, allocations: 448.9 kB / 409.4 MB, free: 9.895 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002897/0.3671, allocations: 428.5 kB / 409.8 MB, free: 9.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003087/0.3674, allocations: 219.1 kB / 410 MB, free: 9.391 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3676, allocations: 385.3 kB / 410.4 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006704/0.3682, allocations: 359.8 kB / 410.8 MB, free: 8.848 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008825/0.3691, allocations: 0.5875 MB / 411.4 MB, free: 8.406 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.3707, allocations: 0.9941 MB / 412.3 MB, free: 7.766 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.3707, allocations: 1.219 kB / 412.4 MB, free: 7.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002524/0.3732, allocations: 1.442 MB / 413.8 MB, free: 7.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.3733, allocations: 6.875 kB / 413.8 MB, free: 7.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.3733, allocations: 13.48 kB / 413.8 MB, free: 6.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000855/0.3741, allocations: 346.6 kB / 414.2 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008683/0.375, allocations: 224.8 kB / 414.4 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007385/0.3824, allocations: 8.482 MB / 422.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007376/0.3832, allocations: 51.98 kB / 422.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-05/0.3833, allocations: 47.98 kB / 423 MB, free: 13.7 MB / 350.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.0004592/0.3837, allocations: 257.7 kB / 423.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.3838, allocations: 75.06 kB / 423.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.3863, allocations: 1.329 MB / 424.6 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.3864, allocations: 12 kB / 424.6 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.3864, allocations: 11.94 kB / 424.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.3864, allocations: 7.969 kB / 424.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004026/0.3904, allocations: 2.565 MB / 427.2 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.3905, allocations: 4 kB / 427.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006758/0.3911, allocations: 151.8 kB / 427.4 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007652/0.3919, allocations: 331.3 kB / 427.7 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.234e-05/0.392, allocations: 24 kB / 427.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006829/0.3988, allocations: 8.097 MB / 435.8 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.3988, allocations: 7.984 kB / 435.8 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003118/0.402, allocations: 1.849 MB / 437.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003622/0.4023, allocations: 224.4 kB / 437.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.477e-05/0.4024, allocations: 24 kB / 437.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000528/0.403, allocations: 39.97 kB / 437.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/0.4032, allocations: 104.7 kB / 438 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.073e-05/0.4033, allocations: 39.98 kB / 438.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002973/0.4036, allocations: 279.2 kB / 438.3 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4036, allocations: 3.938 kB / 438.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001239/0.4048, allocations: 316 kB / 438.7 MB, free: 13.23 MB / 366.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.0002948/0.4051, allocations: 175 kB / 438.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002651/0.4078, allocations: 1.645 MB / 440.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.4078, allocations: 4 kB / 440.5 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001509/0.4093, allocations: 1.146 MB / 441.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.4098, allocations: 79.09 kB / 441.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003697/0.4136, allocations: 1.968 MB / 443.7 MB, free: 8.062 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006308/0.4142, allocations: 1.025 MB / 444.7 MB, free: 7.012 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004175/0.4146, allocations: 102.4 kB / 444.8 MB, free: 6.906 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.4148, allocations: 59.42 kB / 444.9 MB, free: 6.848 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4148, allocations: 0 / 444.9 MB, free: 6.848 MB / 366.1 MB Notification: Performance of Templates: time 0.02054/0.4354, allocations: 11.57 MB / 456.4 MB, free: 11.27 MB / 382.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)