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.00128/0.00128, allocations: 98.56 kB / 16.5 MB, free: 6.641 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.001434/0.001434, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.428/1.428, allocations: 205.1 MB / 223.3 MB, free: 12.38 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.001155/0.001155, allocations: 47.94 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0988/0.09997, allocations: 46.63 MB / 326 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor): time 0.008723/0.1087, allocations: 7.704 MB / 333.7 MB, free: 13.13 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0059/0.1147, allocations: 2.991 MB / 336.7 MB, free: 10.13 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.1161, allocations: 31.88 kB / 336.7 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003235/0.1193, allocations: 1.226 MB / 337.9 MB, free: 8.867 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002349/0.1217, allocations: 0.719 MB / 338.6 MB, free: 8.145 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002575/0.1243, allocations: 1.239 MB / 339.9 MB, free: 6.902 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002197/0.1265, allocations: 1.57 MB / 341.4 MB, free: 5.328 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001695/0.1282, allocations: 1.084 MB / 342.5 MB, free: 4.215 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000885/0.1291, allocations: 0.5874 MB / 343.1 MB, free: 3.625 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008118/0.1299, allocations: 0.7583 MB / 343.9 MB, free: 2.863 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.1301, allocations: 100 kB / 344 MB, free: 2.766 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.1312, allocations: 399.6 kB / 344.4 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.1315, allocations: 310.7 kB / 344.7 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006654/0.1321, allocations: 0.7226 MB / 345.4 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00215/0.1343, allocations: 2.157 MB / 347.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1343, allocations: 0 / 347.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1343, allocations: 4 kB / 347.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.05e-05/0.1343, allocations: 0 / 347.5 MB, free: 15.18 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.005693/0.14, allocations: 2.156 MB / 349.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.1401, allocations: 11.97 kB / 349.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004093/0.1442, allocations: 0.6313 MB / 350.3 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.1459, allocations: 0.8253 MB / 351.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001659/0.1461, allocations: 144.7 kB / 351.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/0.1463, allocations: 148 kB / 351.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002757/0.1491, allocations: 1.366 MB / 352.8 MB, free: 9.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.054e-05/0.1491, allocations: 3.906 kB / 352.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001344/0.1493, allocations: 60 kB / 352.9 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/0.1493, allocations: 40 kB / 352.9 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002676/0.152, allocations: 1.339 MB / 354.3 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008324/0.1603, allocations: 4.984 MB / 359.2 MB, free: 3.098 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003193/0.1635, allocations: 2.452 MB / 361.7 MB, free: 392 kB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.1647, allocations: 0.5748 MB / 362.3 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.1648, allocations: 102.5 kB / 362.4 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001386/0.1662, allocations: 0.7374 MB / 363.1 MB, free: 14.92 MB / 318.1 MB Notification: Performance of pre-optimization done (n=134): time 3.116e-06/0.1663, allocations: 0 / 363.1 MB, free: 14.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=168): time 0.01434/0.1806, allocations: 5.551 MB / 368.7 MB, free: 9.258 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.463e-05/0.1807, allocations: 158.5 kB / 368.8 MB, free: 9.074 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007928/0.1815, allocations: 0.6213 MB / 369.4 MB, free: 8.445 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.1817, allocations: 57.7 kB / 369.5 MB, free: 8.383 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004504/0.1821, allocations: 0.5779 MB / 370.1 MB, free: 7.793 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004258/0.1825, allocations: 0.5506 MB / 370.6 MB, free: 7.234 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004355/0.183, allocations: 295.4 kB / 370.9 MB, free: 6.938 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1831, allocations: 345.9 kB / 371.2 MB, free: 6.594 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.1842, allocations: 0.5115 MB / 371.8 MB, free: 6.082 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00134/0.1856, allocations: 0.8807 MB / 372.6 MB, free: 5.066 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002432/0.188, allocations: 1.48 MB / 374.1 MB, free: 3.449 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.188, allocations: 4 kB / 374.1 MB, free: 3.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004546/0.1926, allocations: 2.07 MB / 376.2 MB, free: 1.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.1926, allocations: 12 kB / 376.2 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.1927, allocations: 8 kB / 376.2 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00198/0.1946, allocations: 0.5224 MB / 376.7 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.1958, allocations: 307.5 kB / 377 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.192/0.3879, allocations: 8.621 MB / 385.7 MB, free: 45.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.3892, allocations: 77.7 kB / 385.7 MB, free: 45.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.3893, allocations: 73.62 kB / 385.8 MB, free: 45.4 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.0006355/0.39, allocations: 357.5 kB / 386.2 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.3901, allocations: 110.2 kB / 386.3 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004533/0.3947, allocations: 1.923 MB / 388.2 MB, free: 44.36 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.3947, allocations: 17.14 kB / 388.2 MB, free: 44.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.3947, allocations: 6.812 kB / 388.2 MB, free: 44.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/0.3948, allocations: 12.92 kB / 388.2 MB, free: 44.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007017/0.4018, allocations: 3.549 MB / 391.8 MB, free: 42.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.4018, allocations: 1.531 kB / 391.8 MB, free: 42.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009919/0.4028, allocations: 212 kB / 392 MB, free: 42.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001878/0.4047, allocations: 0.5021 MB / 392.5 MB, free: 42.6 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.4048, allocations: 37.7 kB / 392.5 MB, free: 42.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007574/0.4124, allocations: 8.316 MB / 400.8 MB, free: 35.79 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.4125, allocations: 3.344 kB / 400.8 MB, free: 35.79 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005345/0.4178, allocations: 2.669 MB / 403.5 MB, free: 34.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004666/0.4183, allocations: 290.7 kB / 403.8 MB, free: 34.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.4185, allocations: 35.91 kB / 403.8 MB, free: 34.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000725/0.4192, allocations: 72.17 kB / 403.9 MB, free: 34.28 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/0.4195, allocations: 130.9 kB / 404 MB, free: 34.26 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-05/0.4196, allocations: 53.77 kB / 404.1 MB, free: 34.25 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004609/0.4201, allocations: 422.9 kB / 404.5 MB, free: 34.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4201, allocations: 0 / 404.5 MB, free: 34.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001548/0.4216, allocations: 424.5 kB / 404.9 MB, free: 33.98 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.0003069/0.422, allocations: 212 kB / 405.1 MB, free: 33.83 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003363/0.4253, allocations: 2.101 MB / 407.2 MB, free: 32.77 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.4254, allocations: 3.938 kB / 407.2 MB, free: 32.77 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001882/0.4272, allocations: 1.41 MB / 408.6 MB, free: 31.93 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007987/0.4281, allocations: 124.8 kB / 408.7 MB, free: 31.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004903/0.433, allocations: 3.425 MB / 412.2 MB, free: 29.15 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006503/0.4336, allocations: 1.197 MB / 413.4 MB, free: 27.92 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007556/0.4344, allocations: 169.1 kB / 413.5 MB, free: 27.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.4346, allocations: 87.41 kB / 413.6 MB, free: 27.67 MB / 318.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4347, allocations: 4 kB / 413.6 MB, free: 27.66 MB / 318.1 MB Notification: Performance of Templates: time 0.02299/0.4576, allocations: 16.48 MB / 430.1 MB, free: 11.18 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)