Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001485/0.001485, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001528/0.001528, allocations: 191.5 kB / 16.14 MB, free: 6.707 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.397/1.397, allocations: 205.1 MB / 222 MB, free: 4.766 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.001148/0.001148, allocations: 51.92 kB / 278.1 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2426, allocations: 46.62 MB / 324.7 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor): time 0.01581/0.2585, allocations: 7.698 MB / 332.4 MB, free: 11.88 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01003/0.2685, allocations: 2.99 MB / 335.4 MB, free: 9.441 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/0.2706, allocations: 27.94 kB / 335.4 MB, free: 9.414 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005261/0.2759, allocations: 1.233 MB / 336.6 MB, free: 8.176 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004555/0.2805, allocations: 0.7267 MB / 337.4 MB, free: 7.445 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00489/0.2854, allocations: 1.227 MB / 338.6 MB, free: 6.215 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003537/0.2889, allocations: 1.57 MB / 340.2 MB, free: 4.637 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003226/0.2922, allocations: 1.088 MB / 341.2 MB, free: 3.52 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.2935, allocations: 0.5874 MB / 341.8 MB, free: 2.93 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/0.2954, allocations: 0.7544 MB / 342.6 MB, free: 2.172 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004424/0.2958, allocations: 96 kB / 342.7 MB, free: 2.078 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001805/0.2976, allocations: 407.6 kB / 343.1 MB, free: 1.68 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005645/0.2982, allocations: 306.7 kB / 343.4 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001517/0.2998, allocations: 0.7305 MB / 344.1 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004134/0.3039, allocations: 2.153 MB / 346.3 MB, free: 14.48 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.304, allocations: 7.938 kB / 346.3 MB, free: 14.48 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.304, allocations: 0 / 346.3 MB, free: 14.48 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.009e-05/0.3041, allocations: 0 / 346.3 MB, free: 14.48 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.009923/0.314, allocations: 2.153 MB / 348.4 MB, free: 12.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.937e-05/0.3141, allocations: 8.031 kB / 348.4 MB, free: 12.26 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007456/0.3216, allocations: 0.6236 MB / 349.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/0.3237, allocations: 0.8253 MB / 349.9 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.3239, allocations: 144.7 kB / 350 MB, free: 10.62 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002977/0.3242, allocations: 155.9 kB / 350.2 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002987/0.3272, allocations: 1.366 MB / 351.5 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.56e-05/0.3273, allocations: 3.906 kB / 351.5 MB, free: 9.074 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.3274, allocations: 64 kB / 351.6 MB, free: 9.012 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/0.3275, allocations: 35.94 kB / 351.6 MB, free: 8.977 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002997/0.3305, allocations: 1.343 MB / 353 MB, free: 7.629 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009014/0.3395, allocations: 4.984 MB / 358 MB, free: 2.406 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003246/0.3428, allocations: 2.44 MB / 360.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001127/0.3439, allocations: 0.5787 MB / 361 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.344, allocations: 110.4 kB / 361.1 MB, free: 14.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001368/0.3454, allocations: 0.7297 MB / 361.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=134): time 3.687e-06/0.3454, allocations: 4 kB / 361.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=168): time 0.01417/0.3596, allocations: 5.548 MB / 367.4 MB, free: 8.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.707e-05/0.3597, allocations: 154.5 kB / 367.5 MB, free: 8.391 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007457/0.3605, allocations: 0.6252 MB / 368.1 MB, free: 7.758 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.189e-05/0.3606, allocations: 57.7 kB / 368.2 MB, free: 7.695 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004318/0.361, allocations: 0.5779 MB / 368.8 MB, free: 7.105 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003911/0.3614, allocations: 0.5544 MB / 369.3 MB, free: 6.543 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004192/0.3619, allocations: 295.3 kB / 369.6 MB, free: 6.246 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.362, allocations: 345.9 kB / 370 MB, free: 5.902 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.3631, allocations: 0.5115 MB / 370.5 MB, free: 5.391 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.3645, allocations: 0.8768 MB / 371.4 MB, free: 4.379 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00244/0.3669, allocations: 1.488 MB / 372.8 MB, free: 2.758 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.3669, allocations: 4 kB / 372.8 MB, free: 2.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004439/0.3714, allocations: 2.059 MB / 374.9 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.3714, allocations: 8 kB / 374.9 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.3714, allocations: 12 kB / 374.9 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001934/0.3734, allocations: 0.534 MB / 375.5 MB, free: 112 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.3746, allocations: 303.5 kB / 375.8 MB, free: 15.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009892/0.3845, allocations: 8.64 MB / 384.4 MB, free: 6.629 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.3857, allocations: 79.88 kB / 384.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.3858, allocations: 67.98 kB / 384.5 MB, free: 6.484 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.0006401/0.3864, allocations: 349.5 kB / 384.9 MB, free: 6.133 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.3866, allocations: 110.7 kB / 385 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00445/0.3911, allocations: 1.93 MB / 386.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.3911, allocations: 16 kB / 386.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.3911, allocations: 8 kB / 386.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.3911, allocations: 11.91 kB / 387 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006407/0.3975, allocations: 3.544 MB / 390.5 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3976, allocations: 0 / 390.5 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009342/0.3985, allocations: 211.7 kB / 390.7 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001836/0.4004, allocations: 0.4993 MB / 391.2 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.4005, allocations: 35.98 kB / 391.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009269/0.4098, allocations: 8.335 MB / 399.6 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4098, allocations: 0 / 399.6 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005514/0.4153, allocations: 2.66 MB / 402.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/0.4158, allocations: 291.6 kB / 402.5 MB, free: 3.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.416, allocations: 39.94 kB / 402.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007463/0.4167, allocations: 59.95 kB / 402.6 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002974/0.417, allocations: 129.1 kB / 402.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.398e-05/0.4171, allocations: 59.91 kB / 402.8 MB, free: 3.484 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005103/0.4176, allocations: 427.1 kB / 403.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4176, allocations: 0 / 403.2 MB, free: 3.066 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001532/0.4192, allocations: 416 kB / 403.6 MB, free: 2.66 MB / 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.0003331/0.4195, allocations: 204 kB / 403.8 MB, free: 2.453 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003599/0.4231, allocations: 2.115 MB / 405.9 MB, free: 300 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4231, allocations: 0 / 405.9 MB, free: 300 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002145/0.4253, allocations: 1.414 MB / 407.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007497/0.4261, allocations: 126.9 kB / 407.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005071/0.4311, allocations: 3.41 MB / 410.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007412/0.4319, allocations: 1.197 MB / 412.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007671/0.4327, allocations: 169.1 kB / 412.2 MB, free: 9.852 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.4329, allocations: 87.41 kB / 412.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4329, allocations: 0 / 412.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of Templates: time 0.02623/0.4592, allocations: 16.49 MB / 428.8 MB, free: 9.246 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe 2>&1)