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.00115/0.00115, allocations: 89.58 kB / 16.65 MB, free: 6.598 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.001198/0.001198, allocations: 182.9 kB / 17.56 MB, free: 6.203 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.416/1.416, allocations: 205.4 MB / 223.7 MB, free: 13.08 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.0004589/0.000459, allocations: 12 kB / 280.7 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09892/0.09939, allocations: 47.58 MB / 328.3 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor): time 0.008279/0.1077, allocations: 7.175 MB / 335.5 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006107/0.1139, allocations: 2.91 MB / 338.4 MB, free: 9.629 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000951/0.1149, allocations: 27.94 kB / 338.4 MB, free: 9.602 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.1159, allocations: 374.1 kB / 338.8 MB, free: 9.234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002217/0.1181, allocations: 0.719 MB / 339.5 MB, free: 8.512 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002578/0.1207, allocations: 1.216 MB / 340.7 MB, free: 7.293 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002221/0.123, allocations: 1.566 MB / 342.3 MB, free: 5.723 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002744/0.1257, allocations: 1.614 MB / 343.9 MB, free: 4.047 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007938/0.1265, allocations: 0.5249 MB / 344.4 MB, free: 3.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007541/0.1273, allocations: 0.6763 MB / 345.1 MB, free: 2.84 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.1274, allocations: 64 kB / 345.2 MB, free: 2.777 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009267/0.1284, allocations: 367.6 kB / 345.5 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.1286, allocations: 266.8 kB / 345.8 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006385/0.1292, allocations: 0.6893 MB / 346.5 MB, free: 1.457 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002006/0.1313, allocations: 2.102 MB / 348.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.1313, allocations: 4 kB / 348.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1313, allocations: 0 / 348.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.642e-05/0.1313, allocations: 0 / 348.6 MB, free: 15.34 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.005043/0.1364, allocations: 1.872 MB / 350.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.1364, allocations: 8.031 kB / 350.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004006/0.1404, allocations: 0.6313 MB / 351.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.142, allocations: 0.8487 MB / 351.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.1421, allocations: 140.7 kB / 352.1 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.1424, allocations: 159.9 kB / 352.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002728/0.1451, allocations: 1.382 MB / 353.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.985e-05/0.1452, allocations: 3.938 kB / 353.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001358/0.1453, allocations: 67.98 kB / 353.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-05/0.1453, allocations: 32 kB / 353.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003311/0.1487, allocations: 1.374 MB / 355.1 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008009/0.1567, allocations: 5.016 MB / 360.1 MB, free: 3.438 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003174/0.1599, allocations: 2.46 MB / 362.6 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.1611, allocations: 0.5826 MB / 363.2 MB, free: 132 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001397/0.1612, allocations: 110.4 kB / 363.3 MB, free: 0 / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001413/0.1626, allocations: 0.7571 MB / 364 MB, free: 15.21 MB / 318.1 MB Notification: Performance of pre-optimization done (n=134): time 2.936e-06/0.1627, allocations: 3.938 kB / 364 MB, free: 15.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=168): time 0.01769/0.1804, allocations: 5.676 MB / 369.7 MB, free: 9.426 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.1805, allocations: 150.5 kB / 369.8 MB, free: 9.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008482/0.1813, allocations: 0.6212 MB / 370.5 MB, free: 8.621 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.86e-05/0.1815, allocations: 61.69 kB / 370.5 MB, free: 8.555 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004457/0.1819, allocations: 0.5779 MB / 371.1 MB, free: 7.965 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000449/0.1824, allocations: 0.5506 MB / 371.7 MB, free: 7.406 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.1826, allocations: 141.6 kB / 371.8 MB, free: 7.262 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.1827, allocations: 353.9 kB / 372.1 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.1839, allocations: 0.5232 MB / 372.7 MB, free: 6.387 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001415/0.1853, allocations: 0.8923 MB / 373.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/0.1878, allocations: 1.504 MB / 375.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.1878, allocations: 4 kB / 375.1 MB, free: 3.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004672/0.1925, allocations: 2.098 MB / 377.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.1925, allocations: 11.94 kB / 377.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.1926, allocations: 12 kB / 377.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002107/0.1947, allocations: 0.534 MB / 377.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.1959, allocations: 311.5 kB / 378 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1976/0.3935, allocations: 8.661 MB / 386.7 MB, free: 44.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.3949, allocations: 89.28 kB / 386.8 MB, free: 44.88 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.395, allocations: 74.8 kB / 386.8 MB, free: 44.86 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.0007426/0.3957, allocations: 352.3 kB / 387.2 MB, free: 44.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.3959, allocations: 110.8 kB / 387.3 MB, free: 44.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004579/0.4005, allocations: 1.952 MB / 389.3 MB, free: 43.81 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.4005, allocations: 16.92 kB / 389.3 MB, free: 43.81 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.4005, allocations: 7.406 kB / 389.3 MB, free: 43.81 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.339e-05/0.4006, allocations: 9.422 kB / 389.3 MB, free: 43.81 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007004/0.4076, allocations: 3.588 MB / 392.9 MB, free: 42.2 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.4076, allocations: 1.25 kB / 392.9 MB, free: 42.2 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.4087, allocations: 217.4 kB / 393.1 MB, free: 42.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00207/0.4108, allocations: 0.5097 MB / 393.6 MB, free: 42.05 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.381e-05/0.4109, allocations: 41.81 kB / 393.6 MB, free: 42.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007937/0.4188, allocations: 8.356 MB / 402 MB, free: 35.21 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.4189, allocations: 2.75 kB / 402 MB, free: 35.21 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00563/0.4245, allocations: 2.704 MB / 404.7 MB, free: 33.97 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005124/0.425, allocations: 301.2 kB / 405 MB, free: 33.74 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.4252, allocations: 35.88 kB / 405 MB, free: 33.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007426/0.4259, allocations: 70.88 kB / 405.1 MB, free: 33.7 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003574/0.4263, allocations: 138.4 kB / 405.2 MB, free: 33.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.714e-05/0.4264, allocations: 48.62 kB / 405.3 MB, free: 33.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005424/0.427, allocations: 424.8 kB / 405.7 MB, free: 33.47 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.427, allocations: 7.719 kB / 405.7 MB, free: 33.46 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001877/0.4288, allocations: 424.2 kB / 406.1 MB, free: 33.4 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.0004177/0.4293, allocations: 204.9 kB / 406.3 MB, free: 33.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003603/0.4329, allocations: 2.129 MB / 408.4 MB, free: 32.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.4329, allocations: 3.812 kB / 408.4 MB, free: 32.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001957/0.4349, allocations: 1.436 MB / 409.9 MB, free: 31.34 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009393/0.4358, allocations: 125.9 kB / 410 MB, free: 31.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004384/0.4402, allocations: 3.515 MB / 413.5 MB, free: 28.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005892/0.4408, allocations: 1.193 MB / 414.7 MB, free: 26.93 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008065/0.4417, allocations: 169.1 kB / 414.9 MB, free: 26.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.4419, allocations: 83.41 kB / 415 MB, free: 26.68 MB / 318.1 MB Notification: Performance of SimCode: time 2.024e-06/0.4419, allocations: 0 / 415 MB, free: 26.68 MB / 318.1 MB Notification: Performance of Templates: time 0.02389/0.4658, allocations: 16.39 MB / 431.4 MB, free: 10.3 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)