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.0007847/0.0007848, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006476/0.006476, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.432/1.432, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004706/0.0004707, allocations: 15.12 kB / 279.4 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2918, allocations: 47.59 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.006913/0.2988, allocations: 5.926 MB / 333 MB, free: 12.73 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005659/0.3045, allocations: 2.471 MB / 335.4 MB, free: 10.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006005/0.3051, allocations: 23 kB / 335.5 MB, free: 10.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.3061, allocations: 344.2 kB / 335.8 MB, free: 10.51 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001848/0.308, allocations: 0.6373 MB / 336.4 MB, free: 9.941 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.3101, allocations: 1.036 MB / 337.5 MB, free: 8.902 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001228/0.3113, allocations: 1.043 MB / 338.5 MB, free: 7.848 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002278/0.3136, allocations: 1.322 MB / 339.8 MB, free: 6.473 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005824/0.3142, allocations: 382.3 kB / 340.2 MB, free: 6.098 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000629/0.3148, allocations: 0.4899 MB / 340.7 MB, free: 5.605 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.134e-05/0.3149, allocations: 55.94 kB / 340.8 MB, free: 5.551 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009375/0.3159, allocations: 347.7 kB / 341.1 MB, free: 5.211 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.3161, allocations: 183.1 kB / 341.3 MB, free: 5.031 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004565/0.3165, allocations: 0.4951 MB / 341.8 MB, free: 4.527 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.3182, allocations: 1.438 MB / 343.2 MB, free: 3.086 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3182, allocations: 0 / 343.2 MB, free: 3.086 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3182, allocations: 0 / 343.2 MB, free: 3.086 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.3183, allocations: 0 / 343.2 MB, free: 3.086 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.00405/0.3223, allocations: 1.46 MB / 344.7 MB, free: 1.574 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.3224, allocations: 8.031 kB / 344.7 MB, free: 1.566 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003775/0.3261, allocations: 0.585 MB / 345.3 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007897/0.3269, allocations: 494 kB / 345.7 MB, free: 468 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.824e-05/0.3271, allocations: 86.3 kB / 345.8 MB, free: 380 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001994/0.3273, allocations: 115.9 kB / 345.9 MB, free: 264 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.3295, allocations: 1.022 MB / 347 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.627e-05/0.3296, allocations: 8 kB / 347 MB, free: 15.2 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.3297, allocations: 44 kB / 347 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.3297, allocations: 31.94 kB / 347 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001946/0.3317, allocations: 1.044 MB / 348.1 MB, free: 14.07 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006074/0.3378, allocations: 3.877 MB / 352 MB, free: 9.969 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/0.34, allocations: 2.06 MB / 354 MB, free: 7.637 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007604/0.3408, allocations: 443.7 kB / 354.5 MB, free: 7.203 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.3409, allocations: 98.16 kB / 354.5 MB, free: 7.09 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008588/0.3418, allocations: 482.4 kB / 355 MB, free: 6.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=98): time 2.575e-06/0.3418, allocations: 4 kB / 355 MB, free: 6.586 MB / 286.1 MB Notification: Performance of matching and sorting (n=127): time 0.008964/0.3508, allocations: 4.072 MB / 359.1 MB, free: 2.395 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.781e-05/0.3509, allocations: 145.5 kB / 359.2 MB, free: 2.223 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004776/0.3514, allocations: 417.7 kB / 359.6 MB, free: 1.809 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.36e-05/0.3514, allocations: 45.7 kB / 359.7 MB, free: 1.758 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000302/0.3518, allocations: 443.5 kB / 360.1 MB, free: 1.316 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003102/0.3521, allocations: 429.7 kB / 360.5 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.3522, allocations: 105.7 kB / 360.6 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.3524, allocations: 378.7 kB / 361 MB, free: 412 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007274/0.3532, allocations: 370.5 kB / 361.4 MB, free: 40 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009012/0.3541, allocations: 0.5916 MB / 362 MB, free: 15.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.3557, allocations: 1.002 MB / 363 MB, free: 14.29 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3557, allocations: 4 kB / 363 MB, free: 14.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002622/0.3584, allocations: 1.437 MB / 364.4 MB, free: 12.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.3584, allocations: 8 kB / 364.4 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.3584, allocations: 11.94 kB / 364.4 MB, free: 12.81 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008519/0.3593, allocations: 359.1 kB / 364.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008536/0.3601, allocations: 219.6 kB / 365 MB, free: 12.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007983/0.3681, allocations: 7.758 MB / 372.8 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008666/0.369, allocations: 47.98 kB / 372.8 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.999e-05/0.3691, allocations: 51.98 kB / 372.9 MB, free: 3.84 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,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.0005252/0.3697, allocations: 257.6 kB / 373.1 MB, free: 3.578 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.3698, allocations: 75.22 kB / 373.2 MB, free: 3.504 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002736/0.3725, allocations: 1.329 MB / 374.5 MB, free: 2.156 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.3725, allocations: 16 kB / 374.5 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.3726, allocations: 7.938 kB / 374.5 MB, free: 2.133 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/0.3726, allocations: 3.984 kB / 374.5 MB, free: 2.129 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004628/0.3772, allocations: 2.584 MB / 377.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.3772, allocations: 0 / 377.1 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007216/0.378, allocations: 164 kB / 377.3 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000857/0.3788, allocations: 319.5 kB / 377.6 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.805e-05/0.3789, allocations: 32 kB / 377.6 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007333/0.3863, allocations: 7.46 MB / 385.1 MB, free: 6.945 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3863, allocations: 0 / 385.1 MB, free: 6.945 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003201/0.3895, allocations: 1.847 MB / 386.9 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003099/0.3898, allocations: 224.1 kB / 387.1 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.729e-05/0.3899, allocations: 28 kB / 387.2 MB, free: 4.789 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005/0.3904, allocations: 39.98 kB / 387.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.3906, allocations: 92.86 kB / 387.3 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-05/0.3907, allocations: 36 kB / 387.3 MB, free: 4.621 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003249/0.391, allocations: 291 kB / 387.6 MB, free: 4.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.391, allocations: 0 / 387.6 MB, free: 4.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00123/0.3922, allocations: 320 kB / 387.9 MB, free: 4.027 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.0003185/0.3926, allocations: 167.1 kB / 388.1 MB, free: 3.852 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002803/0.3954, allocations: 1.64 MB / 389.7 MB, free: 2.164 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.3954, allocations: 4 kB / 389.7 MB, free: 2.16 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001628/0.397, allocations: 1.158 MB / 390.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006097/0.3976, allocations: 81.48 kB / 391 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/0.4014, allocations: 2.555 MB / 393.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006413/0.402, allocations: 1.025 MB / 394.6 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004974/0.4026, allocations: 106.4 kB / 394.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.4027, allocations: 59.42 kB / 394.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4027, allocations: 0 / 394.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of Templates: time 0.01884/0.4216, allocations: 10.42 MB / 405.1 MB, free: 2.613 MB / 334.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)