Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|comparisonWithFEA.y.1.|comparisonWithFEA.y.2.|comparisonWithFEA.y.3.|advancedFeed_x.v|advancedSolenoid.g_mFeArm.Phi|advancedSolenoid.L_statTot|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.x|advancedSolenoid.armature.flange_a.f|advancedSolenoid.coil1.i|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.i|advancedSolenoid.coil2.Phi|advancedSolenoid.g_mLeak1.port_p.Phi|advancedSolenoid.g_mLeak2.port_p.Phi|advancedSolenoid.g_mLeak3.port_p.Phi|advancedSolenoid.g_mLeakWork.port_p.Phi|simpleFeed_x.v|simpleSolenoid.armature.flange_a.f|simpleSolenoid.g_mFeArm.Phi|simpleSolenoid.x|simpleSolenoid.coil.i|simpleSolenoid.coil.Phi|simpleSolenoid.coil.L_stat|simpleSolenoid.g_mLeak1.port_p.Phi|simpleSolenoid.g_mLeak2.port_p.Phi|simpleSolenoid.g_mLeakWork.port_p.Phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|comparisonWithFEA.y.1.|comparisonWithFEA.y.2.|comparisonWithFEA.y.3.|advancedFeed_x.v|advancedSolenoid.g_mFeArm.Phi|advancedSolenoid.L_statTot|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.x|advancedSolenoid.armature.flange_a.f|advancedSolenoid.coil1.i|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.i|advancedSolenoid.coil2.Phi|advancedSolenoid.g_mLeak1.port_p.Phi|advancedSolenoid.g_mLeak2.port_p.Phi|advancedSolenoid.g_mLeak3.port_p.Phi|advancedSolenoid.g_mLeakWork.port_p.Phi|simpleFeed_x.v|simpleSolenoid.armature.flange_a.f|simpleSolenoid.g_mFeArm.Phi|simpleSolenoid.x|simpleSolenoid.coil.i|simpleSolenoid.coil.Phi|simpleSolenoid.coil.L_stat|simpleSolenoid.g_mLeak1.port_p.Phi|simpleSolenoid.g_mLeak2.port_p.Phi|simpleSolenoid.g_mLeakWork.port_p.Phi",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001132/0.001132, allocations: 115.2 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001104, allocations: 202.7 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 59.91 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2194, allocations: 50.55 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic): time 0.01166/0.2311, allocations: 11.4 MB / 421.3 MB, free: 6.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006296/0.2375, allocations: 3.518 MB / 424.9 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.2389, allocations: 39.88 kB / 424.9 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.2401, allocations: 0.7065 MB / 425.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002066/0.2422, allocations: 0.9931 MB / 426.6 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.244, allocations: 0.94 MB / 427.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003374/0.2474, allocations: 3.552 MB / 431.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.2485, allocations: 0.9025 MB / 432 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001528/0.25, allocations: 1.335 MB / 433.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.2516, allocations: 1.552 MB / 434.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004084/0.252, allocations: 360 kB / 435.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005479/0.2526, allocations: 388 kB / 435.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005739/0.2531, allocations: 0.732 MB / 436.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001241/0.2544, allocations: 1.536 MB / 437.9 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003827/0.2582, allocations: 4.417 MB / 442.3 MB, free: 1.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2582, allocations: 3.938 kB / 442.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2582, allocations: 0 / 442.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.554e-05/0.2583, allocations: 0 / 442.3 MB, free: 1.07 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.00665/0.265, allocations: 3.292 MB / 445.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.265, allocations: 8.031 kB / 445.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009553/0.266, allocations: 366.9 kB / 446 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/0.2683, allocations: 1.487 MB / 447.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.2685, allocations: 156.2 kB / 447.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002784/0.2687, allocations: 208 kB / 447.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003261/0.272, allocations: 1.866 MB / 449.7 MB, free: 9.516 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.234e-05/0.2721, allocations: 7.953 kB / 449.7 MB, free: 9.508 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000171/0.2722, allocations: 84 kB / 449.8 MB, free: 9.426 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.78e-05/0.2723, allocations: 56 kB / 449.8 MB, free: 9.371 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003509/0.2758, allocations: 1.855 MB / 451.7 MB, free: 7.5 MB / 366.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.01141/0.2872, allocations: 7.474 MB / 459.1 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003372/0.2906, allocations: 2.283 MB / 461.4 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002486/0.2931, allocations: 1.378 MB / 462.8 MB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.2933, allocations: 37.95 kB / 462.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.2933, allocations: 64.56 kB / 462.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=238): time 4.398e-06/0.2933, allocations: 0 / 462.9 MB, free: 11.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=355): time 0.05958/0.3529, allocations: 17.78 MB / 480.7 MB, free: 9.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.353, allocations: 86.2 kB / 480.8 MB, free: 9.867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002493/0.3555, allocations: 1.984 MB / 482.8 MB, free: 7.836 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001958/0.3557, allocations: 85.7 kB / 482.8 MB, free: 7.746 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007016/0.3564, allocations: 1.043 MB / 483.9 MB, free: 6.695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008439/0.3573, allocations: 1.239 MB / 485.1 MB, free: 5.445 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008888/0.3582, allocations: 499.7 kB / 485.6 MB, free: 4.949 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3583, allocations: 309.1 kB / 485.9 MB, free: 4.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00229/0.3606, allocations: 1.193 MB / 487.1 MB, free: 3.449 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002465/0.3631, allocations: 1.514 MB / 488.6 MB, free: 1.875 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004908/0.368, allocations: 2.859 MB / 491.5 MB, free: 14.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.368, allocations: 0 / 491.5 MB, free: 14.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01012/0.3781, allocations: 4.453 MB / 495.9 MB, free: 10.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.3782, allocations: 8 kB / 495.9 MB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.3782, allocations: 4 kB / 495.9 MB, free: 10.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005469/0.3837, allocations: 1.342 MB / 497.3 MB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002651/0.3863, allocations: 0.511 MB / 497.8 MB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02536/0.4117, allocations: 20.67 MB / 0.5063 GB, free: 2.895 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/0.414, allocations: 87.97 kB / 0.5064 GB, free: 2.809 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002211/0.4142, allocations: 112 kB / 0.5065 GB, free: 2.699 MB / 430.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 (302): * Single equations (assignments): 295 * 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.00107/0.4153, allocations: 0.595 MB / 0.5071 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003866/0.4157, allocations: 278.4 kB / 0.5073 GB, free: 1.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009717/0.4254, allocations: 4.382 MB / 0.5116 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-05/0.4254, allocations: 15.94 kB / 0.5116 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.725e-06/0.4254, allocations: 4 kB / 0.5116 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009399/0.4264, allocations: 0.6435 MB / 0.5123 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003204/0.4267, allocations: 56 kB / 0.5123 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/0.4284, allocations: 91.95 kB / 0.5124 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005387/0.4289, allocations: 286.3 kB / 0.5127 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01048/0.4394, allocations: 4.287 MB / 0.5169 GB, free: 7.922 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007919/0.4474, allocations: 4.96 MB / 0.5217 GB, free: 2.902 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002162/0.4495, allocations: 1.373 MB / 0.5231 GB, free: 1.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001762/0.4513, allocations: 1.383 MB / 0.5244 GB, free: 116 kB / 446.1 MB Notification: Performance of Backend: time 4.31e-07/0.4513, allocations: 0 / 0.5244 GB, free: 116 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006818/0.4581, allocations: 3.799 MB / 0.5281 GB, free: 12.35 MB / 462.1 MB Notification: Performance of SimCode: time 0.008249/0.4664, allocations: 6.387 MB / 0.5344 GB, free: 5.906 MB / 462.1 MB Notification: Performance of Templates: time 0.2477/0.7142, allocations: 56.09 MB / 0.5891 GB, free: 86.02 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe 2>&1)