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.0007724/0.0007726, allocations: 91.3 kB / 15.36 MB, free: 0.7344 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.005415/0.005415, allocations: 170 kB / 16.26 MB, free: 6.68 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.469/1.469, allocations: 205.4 MB / 222.4 MB, free: 5.793 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.0004933/0.0004935, allocations: 8 kB / 279.5 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2893, allocations: 47.59 MB / 327 MB, free: 1.363 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor): time 0.008095/0.2974, allocations: 7.171 MB / 334.2 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006367/0.3038, allocations: 2.901 MB / 337.1 MB, free: 9.293 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.3051, allocations: 31.94 kB / 337.1 MB, free: 9.262 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.3063, allocations: 378.1 kB / 337.5 MB, free: 8.891 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002379/0.3087, allocations: 0.7072 MB / 338.2 MB, free: 8.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002435/0.3111, allocations: 1.223 MB / 339.4 MB, free: 6.953 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001882/0.313, allocations: 1.554 MB / 341 MB, free: 5.391 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002762/0.3158, allocations: 1.614 MB / 342.6 MB, free: 3.715 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008855/0.3167, allocations: 0.5249 MB / 343.1 MB, free: 3.188 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008113/0.3175, allocations: 0.6764 MB / 343.8 MB, free: 2.508 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.3177, allocations: 68 kB / 343.9 MB, free: 2.441 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009948/0.3187, allocations: 363.6 kB / 344.2 MB, free: 2.086 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.3189, allocations: 266.7 kB / 344.5 MB, free: 1.824 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007419/0.3197, allocations: 0.6892 MB / 345.2 MB, free: 1.125 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002236/0.3219, allocations: 2.106 MB / 347.3 MB, free: 15.01 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3219, allocations: 0 / 347.3 MB, free: 15.01 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3219, allocations: 0 / 347.3 MB, free: 15.01 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.632e-05/0.322, allocations: 0 / 347.3 MB, free: 15.01 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.004923/0.3269, allocations: 1.868 MB / 349.2 MB, free: 13.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.327, allocations: 11.97 kB / 349.2 MB, free: 13.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003868/0.3308, allocations: 0.6391 MB / 349.8 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/0.3325, allocations: 0.841 MB / 350.7 MB, free: 11.55 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.3326, allocations: 152.6 kB / 350.8 MB, free: 11.39 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002431/0.3329, allocations: 155.9 kB / 351 MB, free: 11.24 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002742/0.3356, allocations: 1.374 MB / 352.3 MB, free: 9.848 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.39e-05/0.3357, allocations: 4 kB / 352.3 MB, free: 9.844 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/0.3359, allocations: 67.92 kB / 352.4 MB, free: 9.777 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/0.3359, allocations: 36 kB / 352.4 MB, free: 9.742 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00283/0.3387, allocations: 1.378 MB / 353.8 MB, free: 8.359 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008103/0.3468, allocations: 5.016 MB / 358.8 MB, free: 3.102 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003262/0.3501, allocations: 2.452 MB / 361.3 MB, free: 392 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.3513, allocations: 0.5905 MB / 361.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/0.3515, allocations: 110.2 kB / 362 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001493/0.353, allocations: 0.757 MB / 362.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=134): time 4.909e-06/0.353, allocations: 0 / 362.7 MB, free: 14.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=168): time 0.01513/0.3682, allocations: 5.669 MB / 368.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.3684, allocations: 158.5 kB / 368.6 MB, free: 8.914 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008887/0.3692, allocations: 0.6212 MB / 369.2 MB, free: 8.285 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001064/0.3694, allocations: 61.7 kB / 369.2 MB, free: 8.219 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005497/0.3699, allocations: 0.5856 MB / 369.8 MB, free: 7.621 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004763/0.3704, allocations: 0.5428 MB / 370.4 MB, free: 7.07 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/0.3706, allocations: 141.6 kB / 370.5 MB, free: 6.926 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3707, allocations: 349.9 kB / 370.8 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.3719, allocations: 0.5232 MB / 371.4 MB, free: 6.055 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.3733, allocations: 0.9002 MB / 372.3 MB, free: 5.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002719/0.376, allocations: 1.504 MB / 373.8 MB, free: 3.383 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.3761, allocations: 4 kB / 373.8 MB, free: 3.379 MB / 302.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004654/0.3807, allocations: 2.098 MB / 375.9 MB, free: 1.262 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.3808, allocations: 8 kB / 375.9 MB, free: 1.254 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-05/0.3808, allocations: 12 kB / 375.9 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002108/0.3829, allocations: 0.5301 MB / 376.4 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.3842, allocations: 315.5 kB / 376.7 MB, free: 400 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/0.3949, allocations: 8.675 MB / 385.4 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.3962, allocations: 84.03 kB / 385.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.3963, allocations: 71.98 kB / 385.6 MB, free: 7.016 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.0007726/0.3971, allocations: 361.4 kB / 385.9 MB, free: 6.652 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.3973, allocations: 110.7 kB / 386 MB, free: 6.543 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005238/0.4025, allocations: 1.957 MB / 388 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/0.4026, allocations: 16 kB / 388 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.43e-05/0.4026, allocations: 8 kB / 388 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.246e-05/0.4026, allocations: 7.969 kB / 388 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006982/0.4096, allocations: 3.594 MB / 391.6 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.4097, allocations: 0 / 391.6 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009627/0.4106, allocations: 219.7 kB / 391.8 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001981/0.4126, allocations: 0.4993 MB / 392.3 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.394e-05/0.4127, allocations: 47.97 kB / 392.4 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009305/0.422, allocations: 8.355 MB / 400.7 MB, free: 7.188 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4221, allocations: 4 kB / 400.7 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005757/0.4278, allocations: 2.699 MB / 403.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004773/0.4283, allocations: 295.6 kB / 403.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000146/0.4285, allocations: 43.92 kB / 403.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007521/0.4293, allocations: 67.97 kB / 403.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003095/0.4296, allocations: 137 kB / 404 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.698e-05/0.4297, allocations: 51.98 kB / 404 MB, free: 3.832 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005335/0.4302, allocations: 427.1 kB / 404.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.472e-06/0.4302, allocations: 0 / 404.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001532/0.4318, allocations: 423.9 kB / 404.8 MB, free: 2.996 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.0003481/0.4321, allocations: 208.3 kB / 405 MB, free: 2.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003805/0.4359, allocations: 2.138 MB / 407.2 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4359, allocations: 1.938 kB / 407.2 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002268/0.4382, allocations: 1.432 MB / 408.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009497/0.4392, allocations: 123 kB / 408.7 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005402/0.4446, allocations: 3.505 MB / 412.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000828/0.4454, allocations: 1.197 MB / 413.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008063/0.4463, allocations: 169.1 kB / 413.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002468/0.4465, allocations: 87.41 kB / 413.7 MB, free: 9.961 MB / 350.1 MB Notification: Performance of SimCode: time 1.373e-06/0.4465, allocations: 0 / 413.7 MB, free: 9.961 MB / 350.1 MB Notification: Performance of Templates: time 0.02863/0.4752, allocations: 16.38 MB / 430.1 MB, free: 9.543 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)