Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001187/0.001193, allocations: 111.7 kB / 16.62 MB, free: 6.812 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.001187/0.001187, allocations: 190 kB / 17.55 MB, free: 5.934 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.35/1.35, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.001168/0.001168, allocations: 47.92 kB / 279.5 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1286, allocations: 46.63 MB / 326.1 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor): time 0.01023/0.1389, allocations: 7.697 MB / 333.8 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006481/0.1454, allocations: 2.976 MB / 336.8 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.1471, allocations: 31.94 kB / 336.8 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00374/0.1509, allocations: 1.233 MB / 338.1 MB, free: 8.781 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003185/0.1541, allocations: 0.7111 MB / 338.8 MB, free: 8.066 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.1571, allocations: 1.196 MB / 340 MB, free: 6.867 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003002/0.1601, allocations: 1.663 MB / 341.6 MB, free: 5.199 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002247/0.1624, allocations: 1.375 MB / 343 MB, free: 3.801 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009611/0.1633, allocations: 0.6616 MB / 343.7 MB, free: 3.137 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008882/0.1642, allocations: 0.7973 MB / 344.5 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002149/0.1645, allocations: 168 kB / 344.6 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.1657, allocations: 471.7 kB / 345.1 MB, free: 1.711 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003468/0.166, allocations: 382.7 kB / 345.5 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008523/0.1669, allocations: 0.7813 MB / 346.3 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002804/0.1697, allocations: 2.227 MB / 348.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1697, allocations: 0 / 348.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1697, allocations: 4 kB / 348.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.355e-05/0.1698, allocations: 0 / 348.5 MB, free: 14.31 MB / 302.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.005937/0.1757, allocations: 2.153 MB / 350.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.1758, allocations: 12.03 kB / 350.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003984/0.1798, allocations: 0.6313 MB / 351.3 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001749/0.1815, allocations: 0.8136 MB / 352.1 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/0.1818, allocations: 148.6 kB / 352.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002381/0.182, allocations: 152 kB / 352.4 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/0.185, allocations: 1.362 MB / 353.8 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.349e-05/0.185, allocations: 11.89 kB / 353.8 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.1852, allocations: 60 kB / 353.8 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-05/0.1852, allocations: 39.98 kB / 353.9 MB, free: 8.805 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002711/0.188, allocations: 1.339 MB / 355.2 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009643/0.1976, allocations: 4.988 MB / 360.2 MB, free: 2.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00351/0.2012, allocations: 2.452 MB / 362.6 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.2024, allocations: 0.5748 MB / 363.2 MB, free: 14.94 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/0.2025, allocations: 106.4 kB / 363.3 MB, free: 14.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001404/0.2039, allocations: 0.7336 MB / 364.1 MB, free: 14.06 MB / 318.1 MB Notification: Performance of pre-optimization done (n=134): time 3.296e-06/0.2039, allocations: 4 kB / 364.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=168): time 0.01439/0.2183, allocations: 5.555 MB / 369.6 MB, free: 8.383 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.2185, allocations: 154.5 kB / 369.8 MB, free: 8.203 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008934/0.2194, allocations: 0.6213 MB / 370.4 MB, free: 7.574 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.2195, allocations: 61.69 kB / 370.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005136/0.22, allocations: 0.574 MB / 371 MB, free: 6.922 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004843/0.2205, allocations: 0.5468 MB / 371.6 MB, free: 6.367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004643/0.221, allocations: 299.4 kB / 371.9 MB, free: 6.066 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.2212, allocations: 345.9 kB / 372.2 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.2225, allocations: 0.5153 MB / 372.7 MB, free: 5.207 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.2238, allocations: 0.8768 MB / 373.6 MB, free: 4.191 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002435/0.2263, allocations: 1.48 MB / 375.1 MB, free: 2.574 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.2263, allocations: 4 kB / 375.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004768/0.2311, allocations: 2.062 MB / 377.1 MB, free: 500 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.2311, allocations: 16 kB / 377.2 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.2312, allocations: 8 kB / 377.2 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2083/0.4395, allocations: 0.5218 MB / 377.7 MB, free: 51.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.441, allocations: 303.7 kB / 378 MB, free: 51.63 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009682/0.4507, allocations: 9.521 MB / 387.5 MB, free: 44.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.4522, allocations: 82.48 kB / 387.6 MB, free: 44.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.4523, allocations: 74.53 kB / 387.7 MB, free: 44.69 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.000749/0.4531, allocations: 352.2 kB / 388 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.4533, allocations: 117.8 kB / 388.1 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004578/0.4578, allocations: 1.912 MB / 390 MB, free: 43.64 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-05/0.4579, allocations: 18.06 kB / 390 MB, free: 43.64 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.92e-05/0.4579, allocations: 10.62 kB / 390.1 MB, free: 43.64 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.702e-05/0.458, allocations: 8.344 kB / 390.1 MB, free: 43.64 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008404/0.4664, allocations: 3.552 MB / 393.6 MB, free: 42.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.4664, allocations: 1.031 kB / 393.6 MB, free: 42.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/0.4674, allocations: 208.2 kB / 393.8 MB, free: 42.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002075/0.4695, allocations: 0.5144 MB / 394.3 MB, free: 41.88 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/0.4697, allocations: 40.36 kB / 394.4 MB, free: 41.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008174/0.4778, allocations: 9.127 MB / 403.5 MB, free: 34.35 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4779, allocations: 6.688 kB / 403.5 MB, free: 34.35 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005055/0.4829, allocations: 2.655 MB / 406.2 MB, free: 33.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004511/0.4834, allocations: 292.3 kB / 406.4 MB, free: 32.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.4836, allocations: 39.78 kB / 406.5 MB, free: 32.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007536/0.4843, allocations: 63.69 kB / 406.5 MB, free: 32.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003234/0.4847, allocations: 138.8 kB / 406.7 MB, free: 32.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.391e-05/0.4848, allocations: 54 kB / 406.7 MB, free: 32.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004684/0.4852, allocations: 422.8 kB / 407.1 MB, free: 32.6 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4852, allocations: 0 / 407.1 MB, free: 32.6 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001626/0.4869, allocations: 418.8 kB / 407.6 MB, free: 32.54 MB / 318.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.0003861/0.4873, allocations: 204.4 kB / 407.8 MB, free: 32.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004774/0.492, allocations: 2.209 MB / 410 MB, free: 31.3 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.4921, allocations: 0 / 410 MB, free: 31.3 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001902/0.494, allocations: 1.418 MB / 411.4 MB, free: 30.24 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007691/0.4948, allocations: 129.6 kB / 411.5 MB, free: 30.12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004643/0.4994, allocations: 3.421 MB / 414.9 MB, free: 26.7 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005703/0.5, allocations: 1.201 MB / 416.1 MB, free: 25.46 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008237/0.5009, allocations: 165.1 kB / 416.3 MB, free: 25.3 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.5011, allocations: 91.41 kB / 416.4 MB, free: 25.21 MB / 318.1 MB Notification: Performance of SimCode: time 2.294e-06/0.5011, allocations: 0 / 416.4 MB, free: 25.21 MB / 318.1 MB Notification: Performance of Templates: time 0.02412/0.5252, allocations: 17.27 MB / 433.7 MB, free: 7.949 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe 2>&1)