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.001691/0.001691, allocations: 107.3 kB / 17.06 MB, free: 5.824 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.001874/0.001874, allocations: 195.9 kB / 18 MB, free: 4.965 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.407/1.407, 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.001789/0.00179, allocations: 51.92 kB / 327.9 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09511/0.09692, allocations: 46.62 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.2083/0.3053, allocations: 6.442 MB / 380.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004606/0.3099, allocations: 2.59 MB / 383.5 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006707/0.3107, allocations: 19.69 kB / 383.5 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003027/0.3137, allocations: 1.283 MB / 384.8 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.316, allocations: 0.7058 MB / 385.5 MB, free: 8.211 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002662/0.3187, allocations: 1.097 MB / 386.6 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002079/0.3208, allocations: 1.102 MB / 387.7 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.3223, allocations: 0.8996 MB / 388.6 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006971/0.323, allocations: 456.6 kB / 389.1 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006659/0.3236, allocations: 0.5571 MB / 389.6 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.3238, allocations: 98.31 kB / 389.7 MB, free: 5.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.3253, allocations: 412.7 kB / 390.1 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002477/0.3255, allocations: 239.6 kB / 390.4 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005778/0.3261, allocations: 0.5291 MB / 390.9 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00227/0.3284, allocations: 1.516 MB / 392.4 MB, free: 4.734 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3284, allocations: 1.406 kB / 392.4 MB, free: 4.734 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.3284, allocations: 0 / 392.4 MB, free: 4.734 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.294e-05/0.3285, allocations: 4 kB / 392.4 MB, free: 4.73 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.004926/0.3334, allocations: 1.649 MB / 394.1 MB, free: 3.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.3335, allocations: 9.344 kB / 394.1 MB, free: 3.781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004192/0.3377, allocations: 0.5747 MB / 394.6 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.3387, allocations: 0.4936 MB / 395.1 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.028e-05/0.3388, allocations: 84.3 kB / 395.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.339, allocations: 116.1 kB / 395.3 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.341, allocations: 1.015 MB / 396.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.726e-05/0.3411, allocations: 0.875 kB / 396.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.3412, allocations: 46.94 kB / 396.4 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.3412, allocations: 35.27 kB / 396.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.3433, allocations: 1.033 MB / 397.5 MB, free: 2.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005922/0.3492, allocations: 3.832 MB / 401.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002494/0.3518, allocations: 2.057 MB / 403.3 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008243/0.3526, allocations: 449.5 kB / 403.8 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.3527, allocations: 100.5 kB / 403.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008977/0.3537, allocations: 489.8 kB / 404.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=98): time 2.715e-06/0.3537, allocations: 1.312 kB / 404.4 MB, free: 13.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=127): time 0.009908/0.3636, allocations: 4.016 MB / 408.4 MB, free: 11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.3637, allocations: 143.2 kB / 408.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005757/0.3643, allocations: 413.1 kB / 408.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.178e-05/0.3644, allocations: 54.05 kB / 409 MB, free: 10.53 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003598/0.3648, allocations: 441.1 kB / 409.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003402/0.3651, allocations: 428.7 kB / 409.8 MB, free: 9.766 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000315/0.3655, allocations: 214.8 kB / 410 MB, free: 9.641 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3656, allocations: 381.2 kB / 410.4 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007597/0.3664, allocations: 364 kB / 410.8 MB, free: 9.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009179/0.3673, allocations: 0.5954 MB / 411.4 MB, free: 8.648 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.369, allocations: 0.9948 MB / 412.3 MB, free: 8.008 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.369, allocations: 1.094 kB / 412.4 MB, free: 8.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.00274/0.3717, allocations: 1.438 MB / 413.8 MB, free: 7.25 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.3718, allocations: 6.875 kB / 413.8 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.3718, allocations: 9.5 kB / 413.8 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009338/0.3727, allocations: 350 kB / 414.1 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009131/0.3736, allocations: 221.2 kB / 414.4 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008333/0.382, allocations: 8.494 MB / 422.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.3831, allocations: 47.92 kB / 422.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.319e-05/0.3831, allocations: 51.98 kB / 423 MB, free: 13.87 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.0005777/0.3837, allocations: 261.7 kB / 423.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.3839, allocations: 75.06 kB / 423.3 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00276/0.3866, allocations: 1.321 MB / 424.6 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.495e-05/0.3867, allocations: 12 kB / 424.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.632e-05/0.3867, allocations: 11.94 kB / 424.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/0.3867, allocations: 7.969 kB / 424.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004916/0.3917, allocations: 2.553 MB / 427.2 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.3917, allocations: 4 kB / 427.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007275/0.3924, allocations: 159.8 kB / 427.3 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008384/0.3933, allocations: 323.3 kB / 427.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.194e-05/0.3934, allocations: 27.98 kB / 427.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008264/0.4016, allocations: 8.105 MB / 435.8 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.4017, allocations: 7.969 kB / 435.8 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003822/0.4055, allocations: 1.841 MB / 437.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000463/0.406, allocations: 228.1 kB / 437.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.4062, allocations: 24 kB / 437.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006443/0.4068, allocations: 40.05 kB / 437.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002373/0.4071, allocations: 104.8 kB / 438 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.694e-05/0.4071, allocations: 39.98 kB / 438.1 MB, free: 14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003409/0.4075, allocations: 275.2 kB / 438.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4075, allocations: 7.875 kB / 438.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001498/0.409, allocations: 320 kB / 438.7 MB, free: 13.41 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.0003044/0.4093, allocations: 171 kB / 438.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002932/0.4123, allocations: 1.644 MB / 440.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.4123, allocations: 0 / 440.5 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001649/0.4139, allocations: 1.15 MB / 441.6 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006606/0.4146, allocations: 83.06 kB / 441.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003787/0.4184, allocations: 1.972 MB / 443.7 MB, free: 8.234 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006431/0.4191, allocations: 1.028 MB / 444.7 MB, free: 7.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004568/0.4195, allocations: 106.4 kB / 444.8 MB, free: 7.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.4197, allocations: 55.42 kB / 444.9 MB, free: 7.016 MB / 366.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4197, allocations: 0 / 444.9 MB, free: 7.016 MB / 366.1 MB Notification: Performance of Templates: time 0.0228/0.4425, allocations: 11.27 MB / 456.1 MB, free: 11.73 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)