Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001299/0.001299, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001521/0.001521, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.0004995/0.0004995, allocations: 8 kB / 278.9 MB, free: 12.72 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2691, allocations: 47.57 MB / 326.4 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.005867/0.2751, allocations: 5.22 MB / 331.7 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005899/0.281, allocations: 2.346 MB / 334 MB, free: 11.54 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006622/0.2817, allocations: 22.12 kB / 334 MB, free: 11.53 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008539/0.2826, allocations: 273.3 kB / 334.3 MB, free: 11.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001877/0.2844, allocations: 0.6274 MB / 334.9 MB, free: 10.84 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.2864, allocations: 0.8976 MB / 335.8 MB, free: 10.11 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001287/0.2877, allocations: 0.7339 MB / 336.6 MB, free: 9.363 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001963/0.2896, allocations: 1.156 MB / 337.7 MB, free: 8.16 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005283/0.2902, allocations: 374.6 kB / 338.1 MB, free: 7.793 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005991/0.2908, allocations: 458 kB / 338.5 MB, free: 7.344 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.934e-05/0.2909, allocations: 48 kB / 338.6 MB, free: 7.297 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009041/0.2918, allocations: 315.6 kB / 338.9 MB, free: 6.988 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.292, allocations: 167.3 kB / 339 MB, free: 6.824 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.2922, allocations: 209.1 kB / 339.2 MB, free: 6.613 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.2934, allocations: 1.104 MB / 340.3 MB, free: 5.508 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2935, allocations: 4 kB / 340.4 MB, free: 5.504 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.2935, allocations: 0 / 340.4 MB, free: 5.504 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.2935, allocations: 7.938 kB / 340.4 MB, free: 5.496 MB / 270.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.004087/0.2976, allocations: 1.472 MB / 341.8 MB, free: 3.973 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.2976, allocations: 8.031 kB / 341.8 MB, free: 3.965 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003848/0.3015, allocations: 0.5802 MB / 342.4 MB, free: 3.383 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008331/0.3023, allocations: 493.2 kB / 342.9 MB, free: 2.859 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.655e-05/0.3024, allocations: 86.3 kB / 343 MB, free: 2.773 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.3026, allocations: 116 kB / 343.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.3046, allocations: 0.995 MB / 344.1 MB, free: 1.637 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/0.3046, allocations: 11.91 kB / 344.1 MB, free: 1.625 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.3047, allocations: 44 kB / 344.1 MB, free: 1.582 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/0.3048, allocations: 28 kB / 344.2 MB, free: 1.555 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.3067, allocations: 1.032 MB / 345.2 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006047/0.3128, allocations: 3.889 MB / 349.1 MB, free: 12.4 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/0.3151, allocations: 2.044 MB / 351.1 MB, free: 10.09 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/0.3153, allocations: 106.2 kB / 351.2 MB, free: 9.965 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008615/0.3162, allocations: 482.4 kB / 351.7 MB, free: 9.469 MB / 286.1 MB Notification: Performance of pre-optimization done (n=98): time 2.705e-06/0.3162, allocations: 0 / 351.7 MB, free: 9.469 MB / 286.1 MB Notification: Performance of matching and sorting (n=124): time 0.008831/0.325, allocations: 3.955 MB / 355.7 MB, free: 5.402 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.75e-05/0.3251, allocations: 149.5 kB / 355.8 MB, free: 5.223 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004714/0.3256, allocations: 409.7 kB / 356.2 MB, free: 4.816 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/0.3257, allocations: 45.7 kB / 356.3 MB, free: 4.766 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003379/0.326, allocations: 439.4 kB / 356.7 MB, free: 4.328 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003205/0.3264, allocations: 417.9 kB / 357.1 MB, free: 3.914 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.3264, allocations: 24 kB / 357.1 MB, free: 3.891 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3266, allocations: 382.8 kB / 357.5 MB, free: 3.508 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007156/0.3273, allocations: 362.5 kB / 357.9 MB, free: 3.156 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008583/0.3282, allocations: 0.5723 MB / 358.4 MB, free: 2.496 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008035/0.329, allocations: 436.3 kB / 358.8 MB, free: 2.074 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.329, allocations: 7.953 kB / 358.9 MB, free: 2.066 MB / 286.1 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002553/0.3316, allocations: 1.411 MB / 360.3 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.3316, allocations: 11.98 kB / 360.3 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/0.3317, allocations: 4 kB / 360.3 MB, free: 0.625 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008507/0.3325, allocations: 351.1 kB / 360.6 MB, free: 276 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008871/0.3334, allocations: 211.7 kB / 360.8 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007824/0.3413, allocations: 7.786 MB / 368.6 MB, free: 7.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008431/0.3421, allocations: 47.98 kB / 368.7 MB, free: 7.691 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.817e-05/0.3422, allocations: 51.98 kB / 368.7 MB, free: 7.641 MB / 302.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,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 4,(1,100.0%) 2,(1,100.0%) 19,(1,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005172/0.3427, allocations: 266.1 kB / 369 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.3429, allocations: 71.09 kB / 369 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/0.3454, allocations: 1.301 MB / 370.3 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.3454, allocations: 12 kB / 370.4 MB, free: 5.969 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.3454, allocations: 8 kB / 370.4 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/0.3455, allocations: 11.92 kB / 370.4 MB, free: 5.949 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0041/0.3496, allocations: 2.443 MB / 372.8 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.3496, allocations: 0 / 372.8 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006936/0.3503, allocations: 155.8 kB / 373 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008637/0.3512, allocations: 329.4 kB / 373.3 MB, free: 2.945 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.896e-05/0.3513, allocations: 28 kB / 373.3 MB, free: 2.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007231/0.3585, allocations: 7.525 MB / 380.8 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3585, allocations: 4.031 kB / 380.9 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003366/0.3619, allocations: 1.794 MB / 382.6 MB, free: 9.023 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003589/0.3623, allocations: 220.1 kB / 382.9 MB, free: 8.789 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.3624, allocations: 24 kB / 382.9 MB, free: 8.766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005243/0.3629, allocations: 35.98 kB / 382.9 MB, free: 8.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/0.3632, allocations: 96.86 kB / 383 MB, free: 8.637 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.008e-05/0.3632, allocations: 35.98 kB / 383 MB, free: 8.602 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003147/0.3635, allocations: 279.1 kB / 383.3 MB, free: 8.328 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3636, allocations: 0 / 383.3 MB, free: 8.328 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00125/0.3648, allocations: 316 kB / 383.6 MB, free: 8.02 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 19,(1,100.0%) 2,(1,100.0%) 4,(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002994/0.3651, allocations: 159.1 kB / 383.8 MB, free: 7.855 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002754/0.3679, allocations: 1.631 MB / 385.4 MB, free: 6.176 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3679, allocations: 384 / 385.4 MB, free: 6.176 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.3696, allocations: 1.153 MB / 386.6 MB, free: 4.977 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.3701, allocations: 57.5 kB / 386.6 MB, free: 4.918 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003964/0.374, allocations: 2.374 MB / 389 MB, free: 2.508 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006688/0.3747, allocations: 1.044 MB / 390 MB, free: 1.438 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004979/0.3752, allocations: 102.3 kB / 390.1 MB, free: 1.336 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.3754, allocations: 59.42 kB / 390.2 MB, free: 1.277 MB / 318.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3754, allocations: 7.875 kB / 390.2 MB, free: 1.27 MB / 318.1 MB Notification: Performance of Templates: time 0.01824/0.3937, allocations: 10.09 MB / 400.3 MB, free: 7.168 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) Environment - environmentSimulation: