Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.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.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001448/0.001448, allocations: 199.3 kB / 16.14 MB, free: 6.664 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.32/1.32, allocations: 205.1 MB / 222 MB, free: 4.75 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.001115/0.001115, allocations: 55.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2557, allocations: 46.62 MB / 324.7 MB, free: 1.949 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01252/0.2683, allocations: 10.89 MB / 335.6 MB, free: 9.242 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007396/0.2757, allocations: 3.173 MB / 338.7 MB, free: 6.055 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003084/0.2788, allocations: 35.94 kB / 338.8 MB, free: 6.02 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.2805, allocations: 0.5872 MB / 339.4 MB, free: 5.43 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00309/0.2836, allocations: 0.7764 MB / 340.1 MB, free: 4.648 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.2855, allocations: 0.8273 MB / 341 MB, free: 3.82 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003864/0.2894, allocations: 3.197 MB / 344.2 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.2905, allocations: 0.7844 MB / 345 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/0.2922, allocations: 1.085 MB / 346 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.2936, allocations: 1.377 MB / 347.4 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000278/0.2939, allocations: 168 kB / 347.6 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004345/0.2943, allocations: 208 kB / 347.8 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004801/0.2948, allocations: 0.5329 MB / 348.3 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.296, allocations: 1.305 MB / 349.6 MB, free: 11.11 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003143/0.2991, allocations: 4.076 MB / 353.7 MB, free: 7.023 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.2991, allocations: 0 / 353.7 MB, free: 7.023 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2991, allocations: 0 / 353.7 MB, free: 7.023 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.583e-05/0.2992, allocations: 0 / 353.7 MB, free: 7.023 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: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.006929/0.3062, allocations: 3.115 MB / 356.8 MB, free: 3.84 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3062, allocations: 8.031 kB / 356.8 MB, free: 3.832 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004199/0.3066, allocations: 293.4 kB / 357.1 MB, free: 3.543 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002223/0.3089, allocations: 1.387 MB / 358.5 MB, free: 2.102 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.309, allocations: 156.5 kB / 358.6 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002724/0.3093, allocations: 216 kB / 358.9 MB, free: 1.734 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003543/0.3128, allocations: 1.889 MB / 360.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.467e-05/0.3129, allocations: 0 / 360.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.3131, allocations: 80 kB / 360.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.482e-05/0.3131, allocations: 52 kB / 360.9 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003856/0.317, allocations: 1.914 MB / 362.8 MB, free: 13.73 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0143/0.3313, allocations: 7.452 MB / 370.2 MB, free: 5.988 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003933/0.3352, allocations: 2.271 MB / 372.5 MB, free: 3.676 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002624/0.3379, allocations: 1.374 MB / 373.9 MB, free: 2.301 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/0.338, allocations: 49.84 kB / 373.9 MB, free: 2.254 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/0.3381, allocations: 56.5 kB / 374 MB, free: 2.188 MB / 302.1 MB Notification: Performance of pre-optimization done (n=234): time 4.007e-06/0.3381, allocations: 0 / 374 MB, free: 2.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=351): time 0.06542/0.4035, allocations: 17.57 MB / 391.6 MB, free: 428 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.118e-05/0.4037, allocations: 86.17 kB / 391.6 MB, free: 328 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003199/0.4069, allocations: 1.844 MB / 393.5 MB, free: 14.47 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003883/0.4073, allocations: 85.7 kB / 393.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007911/0.4081, allocations: 0.9771 MB / 394.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001357/0.4095, allocations: 1.155 MB / 395.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00126/0.4107, allocations: 0.4955 MB / 396.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.4109, allocations: 305.1 kB / 396.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002796/0.4137, allocations: 1.217 MB / 397.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002932/0.4166, allocations: 1.529 MB / 399.2 MB, free: 8.609 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00568/0.4223, allocations: 2.882 MB / 402.1 MB, free: 5.648 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.4224, allocations: 0 / 402.1 MB, free: 5.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01115/0.4335, allocations: 4.443 MB / 406.6 MB, free: 1.156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.4336, allocations: 8 kB / 406.6 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.4336, allocations: 4 kB / 406.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005738/0.4394, allocations: 1.326 MB / 407.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002936/0.4423, allocations: 0.5344 MB / 408.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02678/0.4691, allocations: 18.88 MB / 427.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002741/0.4719, allocations: 99.95 kB / 427.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005712/0.4725, allocations: 116 kB / 427.5 MB, free: 11.21 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (simpleSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (298): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,50), (2,43)} Notification: Performance of prepare postOptimizeDAE: time 0.001728/0.4743, allocations: 0.5761 MB / 428.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007181/0.475, allocations: 256.8 kB / 428.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01121/0.4862, allocations: 4.388 MB / 432.7 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.509e-05/0.4863, allocations: 39.98 kB / 432.8 MB, free: 5.883 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/0.4863, allocations: 4 kB / 432.8 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.612e-05/0.4863, allocations: 19.94 kB / 432.8 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01796/0.5043, allocations: 8.398 MB / 441.2 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.5044, allocations: 4 kB / 441.2 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002556/0.5069, allocations: 463.6 kB / 441.7 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005759/0.5127, allocations: 1.263 MB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003976/0.5131, allocations: 71.92 kB / 443 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1981/0.7113, allocations: 17.49 MB / 460.5 MB, free: 107.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.7113, allocations: 2.719 kB / 460.5 MB, free: 107.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/0.7252, allocations: 6.101 MB / 466.6 MB, free: 104.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/0.7267, allocations: 0.613 MB / 467.2 MB, free: 104.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003657/0.7271, allocations: 62.97 kB / 467.3 MB, free: 104.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/0.7289, allocations: 108.7 kB / 467.4 MB, free: 104.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006898/0.7296, allocations: 253.8 kB / 467.6 MB, free: 104.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001762/0.7297, allocations: 95.86 kB / 467.7 MB, free: 104.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001491/0.7312, allocations: 1.279 MB / 469 MB, free: 103.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7312, allocations: 3.156 kB / 469 MB, free: 103.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002563/0.7338, allocations: 0.868 MB / 469.9 MB, free: 103.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (advancedSolenoid.coil1.i,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleSolenoid.coil.i,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (243): * Single equations (assignments): 236 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,3,100.0%), (1,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,41), (3,49)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009704/0.7348, allocations: 448.9 kB / 470.3 MB, free: 103.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006428/0.7412, allocations: 4.436 MB / 474.7 MB, free: 100.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.7413, allocations: 0 / 474.7 MB, free: 100.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003762/0.745, allocations: 2.967 MB / 477.7 MB, free: 97.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002081/0.7471, allocations: 361.8 kB / 478.1 MB, free: 97.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.7572, allocations: 6.796 MB / 484.8 MB, free: 90.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001149/0.7584, allocations: 1.707 MB / 486.6 MB, free: 89.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001785/0.7602, allocations: 288.1 kB / 486.8 MB, free: 89.1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006074/0.7608, allocations: 155.4 kB / 487 MB, free: 88.95 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.7608, allocations: 0 / 487 MB, free: 88.95 MB / 382.1 MB Notification: Performance of Templates: time 0.07094/0.8318, allocations: 49.83 MB / 0.5242 GB, free: 39.05 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1)