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.0009805/0.0009806, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001321/0.001321, allocations: 177.2 kB / 16.27 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.457/1.457, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004742/0.0004742, allocations: 12 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2376, allocations: 47.59 MB / 327 MB, free: 1.371 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.01124/0.2489, allocations: 10.32 MB / 337.4 MB, free: 9.016 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007845/0.2567, allocations: 3.154 MB / 340.5 MB, free: 5.848 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003031/0.2598, allocations: 31.94 kB / 340.5 MB, free: 5.816 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.2619, allocations: 0.591 MB / 341.1 MB, free: 5.223 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003695/0.2656, allocations: 0.7842 MB / 341.9 MB, free: 4.434 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001997/0.2676, allocations: 0.8156 MB / 342.7 MB, free: 3.617 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004467/0.2721, allocations: 3.201 MB / 345.9 MB, free: 416 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.2734, allocations: 0.7688 MB / 346.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001854/0.2752, allocations: 1.035 MB / 347.7 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/0.277, allocations: 1.314 MB / 349.1 MB, free: 13.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002867/0.2773, allocations: 140 kB / 349.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004185/0.2777, allocations: 164 kB / 349.3 MB, free: 12.95 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000431/0.2781, allocations: 0.4977 MB / 349.8 MB, free: 12.45 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001218/0.2794, allocations: 1.28 MB / 351.1 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0038/0.2832, allocations: 3.977 MB / 355.1 MB, free: 7.168 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.2832, allocations: 0 / 355.1 MB, free: 7.168 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.2832, allocations: 0 / 355.1 MB, free: 7.168 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.968e-05/0.2833, allocations: 0 / 355.1 MB, free: 7.168 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.006517/0.2898, allocations: 2.706 MB / 357.8 MB, free: 4.395 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.2899, allocations: 8.031 kB / 357.8 MB, free: 4.387 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004739/0.2903, allocations: 293.4 kB / 358.1 MB, free: 4.098 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.2926, allocations: 1.387 MB / 359.5 MB, free: 2.656 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.2927, allocations: 156.5 kB / 359.6 MB, free: 2.5 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002977/0.293, allocations: 212 kB / 359.8 MB, free: 2.293 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003947/0.297, allocations: 1.916 MB / 361.8 MB, free: 328 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.662e-05/0.2971, allocations: 11.88 kB / 361.8 MB, free: 316 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001808/0.2973, allocations: 88 kB / 361.9 MB, free: 228 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.495e-05/0.2973, allocations: 51.94 kB / 361.9 MB, free: 176 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004043/0.3014, allocations: 1.976 MB / 363.9 MB, free: 14.18 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.01208/0.3135, allocations: 7.488 MB / 371.4 MB, free: 6.402 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003588/0.3171, allocations: 2.298 MB / 373.7 MB, free: 4.062 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002614/0.3197, allocations: 1.386 MB / 375.1 MB, free: 2.676 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001182/0.3198, allocations: 33.97 kB / 375.1 MB, free: 2.645 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.3199, allocations: 64.44 kB / 375.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of pre-optimization done (n=234): time 3.877e-06/0.3199, allocations: 0 / 375.2 MB, free: 2.57 MB / 302.1 MB Notification: Performance of matching and sorting (n=351): time 0.06246/0.3824, allocations: 17.91 MB / 393.1 MB, free: 468 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.3825, allocations: 86.17 kB / 393.2 MB, free: 368 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002791/0.3853, allocations: 1.844 MB / 395 MB, free: 14.51 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004098/0.3857, allocations: 81.7 kB / 395.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007492/0.3865, allocations: 0.9733 MB / 396.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001007/0.3875, allocations: 1.163 MB / 397.2 MB, free: 12.26 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003504/0.3878, allocations: 252.5 kB / 397.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.388, allocations: 301.1 kB / 397.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002597/0.3906, allocations: 1.252 MB / 399 MB, free: 10.46 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002836/0.3934, allocations: 1.548 MB / 400.6 MB, free: 8.848 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005594/0.399, allocations: 2.936 MB / 403.5 MB, free: 5.832 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.3991, allocations: 4 kB / 403.5 MB, free: 5.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01081/0.4099, allocations: 4.494 MB / 408 MB, free: 1.285 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/0.41, allocations: 8 kB / 408 MB, free: 1.277 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.41, allocations: 7.938 kB / 408 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005295/0.4153, allocations: 1.345 MB / 409.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002884/0.4182, allocations: 0.5344 MB / 409.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02745/0.4457, allocations: 18.91 MB / 428.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002822/0.4485, allocations: 120 kB / 428.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003498/0.4489, allocations: 108 kB / 429 MB, free: 11.28 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.001268/0.4502, allocations: 0.5757 MB / 429.6 MB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004547/0.4506, allocations: 256.8 kB / 429.8 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/0.4613, allocations: 4.451 MB / 434.3 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.854e-05/0.4614, allocations: 32 kB / 434.3 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.4614, allocations: 4 kB / 434.3 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.54e-05/0.4615, allocations: 15.94 kB / 434.3 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01683/0.4783, allocations: 8.468 MB / 442.8 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.695e-05/0.4784, allocations: 4.281 kB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002551/0.4809, allocations: 479.3 kB / 443.3 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005437/0.4864, allocations: 1.263 MB / 444.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005768/0.487, allocations: 71.97 kB / 444.6 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1844/0.6714, allocations: 17.53 MB / 462.2 MB, free: 106.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6715, allocations: 2.688 kB / 462.2 MB, free: 106.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/0.6833, allocations: 6.178 MB / 468.3 MB, free: 104.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.6843, allocations: 0.6176 MB / 468.9 MB, free: 103.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002832/0.6846, allocations: 61 kB / 469 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/0.6863, allocations: 129.3 kB / 469.1 MB, free: 103.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006237/0.6869, allocations: 254.7 kB / 469.4 MB, free: 103.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/0.6871, allocations: 88.62 kB / 469.5 MB, free: 103.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00155/0.6886, allocations: 1.289 MB / 470.8 MB, free: 103.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6886, allocations: 3.938 kB / 470.8 MB, free: 103.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002665/0.6913, allocations: 0.8631 MB / 471.6 MB, free: 103 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.000916/0.6922, allocations: 445.2 kB / 472.1 MB, free: 102.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006231/0.6985, allocations: 4.494 MB / 476.6 MB, free: 99.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.6985, allocations: 4 kB / 476.6 MB, free: 99.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003974/0.7025, allocations: 2.995 MB / 479.6 MB, free: 96.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/0.7052, allocations: 368 kB / 479.9 MB, free: 96.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008207/0.7134, allocations: 6.969 MB / 486.9 MB, free: 90.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009763/0.7144, allocations: 1.706 MB / 488.6 MB, free: 88.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00175/0.7162, allocations: 296.1 kB / 488.9 MB, free: 88.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006655/0.7168, allocations: 155.4 kB / 489 MB, free: 88.03 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.7168, allocations: 0 / 489 MB, free: 88.03 MB / 382.1 MB Notification: Performance of Templates: time 0.06434/0.7812, allocations: 49.08 MB / 0.5255 GB, free: 38.88 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)