Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.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.NonLinearInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.001634/0.001635, allocations: 198.1 kB / 16.26 MB, free: 6.629 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.419/1.419, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.001388/0.001388, allocations: 51.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2429, allocations: 46.62 MB / 324.8 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor): time 0.008423/0.2514, allocations: 7.71 MB / 332.6 MB, free: 11.87 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006372/0.2578, allocations: 2.975 MB / 335.5 MB, free: 9.398 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008899/0.2588, allocations: 27.94 kB / 335.6 MB, free: 9.371 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003092/0.2619, allocations: 1.229 MB / 336.8 MB, free: 8.137 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002675/0.2645, allocations: 0.7073 MB / 337.5 MB, free: 7.426 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.2673, allocations: 1.211 MB / 338.7 MB, free: 6.211 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002086/0.2694, allocations: 1.656 MB / 340.4 MB, free: 4.547 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002162/0.2716, allocations: 1.375 MB / 341.7 MB, free: 3.148 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.2726, allocations: 0.6499 MB / 342.4 MB, free: 2.496 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008774/0.2735, allocations: 0.8013 MB / 343.2 MB, free: 1.691 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000199/0.2737, allocations: 167.9 kB / 343.4 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.2747, allocations: 475.6 kB / 343.8 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003139/0.2751, allocations: 378.7 kB / 344.2 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007741/0.2758, allocations: 0.7969 MB / 345 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00255/0.2784, allocations: 2.227 MB / 347.2 MB, free: 13.66 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2784, allocations: 0 / 347.2 MB, free: 13.66 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.2784, allocations: 0 / 347.2 MB, free: 13.66 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.088e-05/0.2785, allocations: 0 / 347.2 MB, free: 13.66 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: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.005669/0.2841, allocations: 2.149 MB / 349.4 MB, free: 11.45 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.2842, allocations: 8.031 kB / 349.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00389/0.2881, allocations: 0.6275 MB / 350 MB, free: 10.81 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.2897, allocations: 0.8214 MB / 350.8 MB, free: 9.945 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.2899, allocations: 148.7 kB / 351 MB, free: 9.793 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/0.2901, allocations: 159.9 kB / 351.1 MB, free: 9.637 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002762/0.2929, allocations: 1.359 MB / 352.5 MB, free: 8.258 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/0.293, allocations: 7.906 kB / 352.5 MB, free: 8.25 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001362/0.2931, allocations: 64 kB / 352.5 MB, free: 8.188 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.734e-05/0.2931, allocations: 36 kB / 352.6 MB, free: 8.152 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00261/0.2958, allocations: 1.343 MB / 353.9 MB, free: 6.805 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007949/0.3037, allocations: 4.981 MB / 358.9 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/0.307, allocations: 2.448 MB / 361.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.3081, allocations: 0.5748 MB / 361.9 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/0.3082, allocations: 110.4 kB / 362 MB, free: 14.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001349/0.3096, allocations: 0.7375 MB / 362.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=134): time 2.805e-06/0.3096, allocations: 0 / 362.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=168): time 0.01394/0.3236, allocations: 5.552 MB / 368.3 MB, free: 7.738 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.3237, allocations: 162.5 kB / 368.5 MB, free: 7.551 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007596/0.3245, allocations: 0.6174 MB / 369.1 MB, free: 6.926 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.078e-05/0.3246, allocations: 57.7 kB / 369.2 MB, free: 6.863 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004332/0.325, allocations: 0.5779 MB / 369.7 MB, free: 6.273 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004244/0.3254, allocations: 0.5506 MB / 370.3 MB, free: 5.715 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000423/0.3259, allocations: 291.4 kB / 370.6 MB, free: 5.422 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.326, allocations: 349.9 kB / 370.9 MB, free: 5.074 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.3271, allocations: 0.5115 MB / 371.4 MB, free: 4.562 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.3286, allocations: 0.8729 MB / 372.3 MB, free: 3.551 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002407/0.331, allocations: 1.496 MB / 373.8 MB, free: 1.922 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.331, allocations: 4 kB / 373.8 MB, free: 1.918 MB / 302.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004498/0.3355, allocations: 2.059 MB / 375.9 MB, free: 15.83 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.3355, allocations: 8 kB / 375.9 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/0.3356, allocations: 12 kB / 375.9 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001904/0.3375, allocations: 0.5185 MB / 376.4 MB, free: 15.28 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.3387, allocations: 303.5 kB / 376.7 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/0.3488, allocations: 9.536 MB / 386.2 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.35, allocations: 75.97 kB / 386.3 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000115/0.3501, allocations: 71.98 kB / 386.4 MB, free: 4.742 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fundamentalWavePermabilitySensor.harmonicFlux.mean2.y,$PRE.fundamentalWavePermabilitySensor.harmonicFlux.mean2.y,fundamentalWavePermabilitySensor.harmonicFlux.mean1.y,$PRE.fundamentalWavePermabilitySensor.harmonicFlux.mean1.y,fundamentalWavePermabilitySensor.harmonicPotential.mean2.y,$PRE.fundamentalWavePermabilitySensor.harmonicPotential.mean2.y,fundamentalWavePermabilitySensor.harmonicPotential.mean1.y,$PRE.fundamentalWavePermabilitySensor.harmonicPotential.mean1.y,rootMeanSquare.mean2.y,$PRE.rootMeanSquare.mean2.y,rootMeanSquare.mean1.y,$PRE.rootMeanSquare.mean1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 165 * 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): 3 systems {(1,9,100.0%), (1,19,100.0%), (1,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0006648/0.3508, allocations: 357.5 kB / 386.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.351, allocations: 114.5 kB / 386.8 MB, free: 4.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004313/0.3553, allocations: 1.918 MB / 388.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.3553, allocations: 16 kB / 388.8 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.3553, allocations: 8 kB / 388.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.719e-05/0.3554, allocations: 7.969 kB / 388.8 MB, free: 2.297 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006407/0.3618, allocations: 3.551 MB / 392.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.3618, allocations: 0 / 392.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009497/0.3628, allocations: 207.7 kB / 392.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001781/0.3645, allocations: 0.5134 MB / 393 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.3647, allocations: 39.98 kB / 393.1 MB, free: 13.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00969/0.3744, allocations: 9.132 MB / 402.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.3744, allocations: 4 kB / 402.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005919/0.3803, allocations: 2.664 MB / 404.9 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005915/0.381, allocations: 295.6 kB / 405.2 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000243/0.3812, allocations: 39.98 kB / 405.2 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008538/0.3821, allocations: 67.91 kB / 405.3 MB, free: 1.078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003395/0.3824, allocations: 129.1 kB / 405.4 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.3826, allocations: 55.97 kB / 405.5 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005718/0.3831, allocations: 423.1 kB / 405.9 MB, free: 496 kB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3831, allocations: 0 / 405.9 MB, free: 496 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.001796/0.3849, allocations: 424 kB / 406.3 MB, free: 72 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (coil.i,fundamentalWavePermabilitySensor.harmonicPotential.mean1.x,fundamentalWavePermabilitySensor.harmonicPotential.mean2.x,fundamentalWavePermabilitySensor.harmonicFlux.mean1.x,fundamentalWavePermabilitySensor.harmonicFlux.mean2.x,rootMeanSquare.mean1.x,rootMeanSquare.mean2.x,sourceQS.pin_p.reference.gamma) * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,fundamentalWavePermabilitySensor.harmonicPotential.mean1.y,fundamentalWavePermabilitySensor.harmonicPotential.mean2.y,fundamentalWavePermabilitySensor.harmonicFlux.mean1.y,fundamentalWavePermabilitySensor.harmonicFlux.mean2.y,rootMeanSquare.mean1.y,rootMeanSquare.mean2.y) * Number of discrete states: 6 (fundamentalWavePermabilitySensor.harmonicPotential.mean1.x,fundamentalWavePermabilitySensor.harmonicPotential.mean2.x,fundamentalWavePermabilitySensor.harmonicFlux.mean1.x,fundamentalWavePermabilitySensor.harmonicFlux.mean2.x,rootMeanSquare.mean1.x,rootMeanSquare.mean2.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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): 3 systems {(1,19,100.0%), (1,9,100.0%), (2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004215/0.3854, allocations: 200 kB / 406.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00527/0.3907, allocations: 2.202 MB / 408.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.3907, allocations: 0 / 408.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002389/0.3931, allocations: 1.413 MB / 410.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008939/0.394, allocations: 140.2 kB / 410.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00703/0.401, allocations: 3.414 MB / 413.6 MB, free: 8.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/0.4026, allocations: 1.197 MB / 414.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00102/0.4036, allocations: 169.1 kB / 415 MB, free: 7.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003251/0.4039, allocations: 91.34 kB / 415.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of SimCode: time 9.32e-07/0.404, allocations: 0 / 415.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of Templates: time 0.03208/0.436, allocations: 17.27 MB / 432.4 MB, free: 5.773 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe 2>&1)