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.005642/0.005642, allocations: 98.39 kB / 15.73 MB, free: 6.031 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.001233/0.001233, allocations: 195.8 kB / 16.67 MB, free: 5.953 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.371/1.371, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.001114/0.001114, allocations: 53.27 kB / 326.5 MB, free: 14.35 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1032, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor): time 0.009274/0.1125, allocations: 7.767 MB / 380.9 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00562/0.1181, allocations: 3.025 MB / 384 MB, free: 6.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008763/0.1191, allocations: 27.94 kB / 384 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003299/0.1224, allocations: 1.329 MB / 385.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002239/0.1246, allocations: 0.8074 MB / 386.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.1272, allocations: 1.302 MB / 387.4 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002585/0.1298, allocations: 1.671 MB / 389.1 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002126/0.1319, allocations: 1.289 MB / 390.4 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.1329, allocations: 0.6616 MB / 391 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.1341, allocations: 0.7974 MB / 391.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002676/0.1344, allocations: 168 kB / 392 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.1355, allocations: 475.6 kB / 392.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.1359, allocations: 378.7 kB / 392.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007965/0.1367, allocations: 0.7775 MB / 393.6 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003642/0.1403, allocations: 2.273 MB / 395.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/0.1403, allocations: 3.984 kB / 395.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1404, allocations: 4 kB / 395.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.713e-05/0.1404, allocations: 0 / 395.9 MB, free: 10.46 MB / 334.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.005793/0.1462, allocations: 2.197 MB / 398.1 MB, free: 8.199 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.1463, allocations: 8.031 kB / 398.1 MB, free: 8.191 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003927/0.1502, allocations: 0.636 MB / 398.7 MB, free: 7.555 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.1518, allocations: 0.8375 MB / 399.6 MB, free: 6.676 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.152, allocations: 148.6 kB / 399.7 MB, free: 6.523 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000242/0.1522, allocations: 152 kB / 399.9 MB, free: 6.375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002833/0.1551, allocations: 1.358 MB / 401.2 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.746e-05/0.1551, allocations: 11.94 kB / 401.2 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/0.1553, allocations: 60 kB / 401.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.9e-05/0.1553, allocations: 40 kB / 401.3 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002841/0.1582, allocations: 1.339 MB / 402.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008283/0.1665, allocations: 4.947 MB / 407.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003337/0.1698, allocations: 2.444 MB / 410.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001205/0.1711, allocations: 0.5824 MB / 410.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.1713, allocations: 106.4 kB / 410.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001425/0.1727, allocations: 0.7452 MB / 411.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=134): time 2.885e-06/0.1727, allocations: 0 / 411.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=168): time 0.01473/0.1874, allocations: 5.594 MB / 417.1 MB, free: 4.457 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.1876, allocations: 158.5 kB / 417.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009064/0.1885, allocations: 0.6175 MB / 417.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.1886, allocations: 57.7 kB / 417.9 MB, free: 3.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000533/0.1892, allocations: 0.599 MB / 418.5 MB, free: 2.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004989/0.1897, allocations: 0.5693 MB / 419.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004545/0.1901, allocations: 291.5 kB / 419.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1903, allocations: 353.9 kB / 419.7 MB, free: 1.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.1915, allocations: 0.5114 MB / 420.2 MB, free: 1.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.1929, allocations: 0.8768 MB / 421.1 MB, free: 236 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002654/0.1955, allocations: 1.488 MB / 422.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.1956, allocations: 0 / 422.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004691/0.2003, allocations: 2.067 MB / 424.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.2003, allocations: 8 kB / 424.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/0.2003, allocations: 12 kB / 424.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001912/0.2022, allocations: 0.5262 MB / 425.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.2035, allocations: 303.5 kB / 425.5 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/0.2149, allocations: 9.527 MB / 435 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.2163, allocations: 84.03 kB / 435.1 MB, free: 1.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.2164, allocations: 67.98 kB / 435.2 MB, free: 1.438 MB / 366.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.000699/0.2172, allocations: 353.4 kB / 435.5 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.2173, allocations: 119.2 kB / 435.6 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004437/0.2218, allocations: 1.922 MB / 437.6 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.2218, allocations: 16 kB / 437.6 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.2218, allocations: 8.281 kB / 437.6 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/0.2219, allocations: 7.969 kB / 437.6 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006764/0.2286, allocations: 3.534 MB / 441.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.2287, allocations: 7.938 kB / 441.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009675/0.2297, allocations: 207.7 kB / 441.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001779/0.2314, allocations: 0.4953 MB / 441.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.792e-05/0.2316, allocations: 39.98 kB / 441.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009875/0.2414, allocations: 9.142 MB / 451 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.2415, allocations: 7.938 kB / 451 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2452/0.4867, allocations: 2.653 MB / 453.7 MB, free: 68.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006345/0.4874, allocations: 300.2 kB / 454 MB, free: 68.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.4876, allocations: 37.08 kB / 454 MB, free: 68.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007463/0.4883, allocations: 67.11 kB / 454.1 MB, free: 68.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003625/0.4887, allocations: 131.8 kB / 454.2 MB, free: 68.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.4888, allocations: 52.61 kB / 454.3 MB, free: 68.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006019/0.4894, allocations: 428.2 kB / 454.7 MB, free: 68.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4894, allocations: 2.062 kB / 454.7 MB, free: 68.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001793/0.4912, allocations: 425.4 kB / 455.1 MB, free: 68.2 MB / 382.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.0003363/0.4916, allocations: 194.1 kB / 455.3 MB, free: 68.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003897/0.4955, allocations: 2.12 MB / 457.4 MB, free: 67.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4955, allocations: 1.094 kB / 457.4 MB, free: 67.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002218/0.4977, allocations: 1.421 MB / 458.8 MB, free: 67.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008233/0.4986, allocations: 128 kB / 458.9 MB, free: 67.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004908/0.5035, allocations: 2.79 MB / 461.7 MB, free: 65.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008698/0.5044, allocations: 1.198 MB / 462.9 MB, free: 65.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006932/0.5051, allocations: 169.8 kB / 463.1 MB, free: 65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/0.5053, allocations: 91.98 kB / 463.2 MB, free: 64.99 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5054, allocations: 0 / 463.2 MB, free: 64.99 MB / 382.1 MB Notification: Performance of Templates: time 0.02847/0.5338, allocations: 17.67 MB / 480.9 MB, free: 55.73 MB / 382.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)