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.001086/0.001086, allocations: 113.9 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00113/0.00113, allocations: 204 kB / 19.41 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.88 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2305, 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.0114/0.2419, allocations: 11.4 MB / 421.3 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006169/0.2481, allocations: 3.514 MB / 424.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001393/0.2495, allocations: 39.88 kB / 424.9 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.2508, allocations: 0.6987 MB / 425.6 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002296/0.2531, allocations: 0.9968 MB / 426.6 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001798/0.2549, allocations: 0.9512 MB / 427.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003547/0.2585, allocations: 3.548 MB / 431.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.2596, allocations: 0.9103 MB / 432 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.2612, allocations: 1.331 MB / 433.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.2629, allocations: 1.552 MB / 434.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004138/0.2633, allocations: 356 kB / 435.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005215/0.2638, allocations: 392 kB / 435.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005134/0.2643, allocations: 0.7359 MB / 436.3 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.2656, allocations: 1.524 MB / 437.9 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003566/0.2691, allocations: 4.401 MB / 442.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.2691, allocations: 0 / 442.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2692, allocations: 0 / 442.3 MB, free: 1.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.851e-05/0.2692, allocations: 4 kB / 442.3 MB, free: 1.09 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.007012/0.2762, allocations: 3.22 MB / 445.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2763, allocations: 8.031 kB / 445.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.2773, allocations: 349.1 kB / 445.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/0.2798, allocations: 1.466 MB / 447.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.2799, allocations: 156.2 kB / 447.5 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002951/0.2802, allocations: 208 kB / 447.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00356/0.2838, allocations: 1.874 MB / 449.5 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-05/0.2838, allocations: 7.891 kB / 449.5 MB, free: 9.633 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001814/0.284, allocations: 84 kB / 449.6 MB, free: 9.551 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/0.2841, allocations: 52 kB / 449.7 MB, free: 9.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003631/0.2877, allocations: 1.855 MB / 451.5 MB, free: 7.629 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.01228/0.3, allocations: 7.46 MB / 459 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003555/0.3036, allocations: 2.279 MB / 461.3 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002603/0.3062, allocations: 1.374 MB / 462.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.3064, allocations: 41.95 kB / 462.7 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.3064, allocations: 56.56 kB / 462.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=238): time 4.278e-06/0.3064, allocations: 0 / 462.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=355): time 0.0612/0.3676, allocations: 17.73 MB / 480.5 MB, free: 10.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.3677, allocations: 90.2 kB / 480.6 MB, free: 10.06 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002946/0.3707, allocations: 1.992 MB / 482.6 MB, free: 8.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000211/0.3709, allocations: 81.7 kB / 482.6 MB, free: 7.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007541/0.3717, allocations: 1.017 MB / 483.6 MB, free: 6.906 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009223/0.3726, allocations: 1.174 MB / 484.8 MB, free: 5.715 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000945/0.3735, allocations: 0.4957 MB / 485.3 MB, free: 5.211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.341e-05/0.3736, allocations: 305.1 kB / 485.6 MB, free: 4.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002416/0.3761, allocations: 1.197 MB / 486.8 MB, free: 3.711 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002604/0.3787, allocations: 1.506 MB / 488.3 MB, free: 2.145 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005129/0.3838, allocations: 2.855 MB / 491.2 MB, free: 15.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.3838, allocations: 0 / 491.2 MB, free: 15.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01037/0.3942, allocations: 4.44 MB / 495.6 MB, free: 10.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.3943, allocations: 8 kB / 495.6 MB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.3943, allocations: 4 kB / 495.6 MB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005489/0.3998, allocations: 1.346 MB / 497 MB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002551/0.4024, allocations: 0.511 MB / 497.5 MB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02608/0.4284, allocations: 20.65 MB / 0.506 GB, free: 3.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00233/0.4308, allocations: 92.03 kB / 0.5061 GB, free: 3.098 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003741/0.4312, allocations: 112 kB / 0.5062 GB, free: 2.988 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.001265/0.4325, allocations: 0.591 MB / 0.5068 GB, free: 2.387 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005187/0.433, allocations: 268.7 kB / 0.507 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/0.443, allocations: 4.37 MB / 0.5113 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-05/0.4431, allocations: 19.92 kB / 0.5113 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.4431, allocations: 4 kB / 0.5113 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/0.4443, allocations: 0.6225 MB / 0.5119 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004593/0.4447, allocations: 63.94 kB / 0.512 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/0.4466, allocations: 95.89 kB / 0.5121 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000585/0.4472, allocations: 286.4 kB / 0.5123 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01147/0.4586, allocations: 4.286 MB / 0.5165 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008528/0.4672, allocations: 4.942 MB / 0.5214 GB, free: 3.234 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002285/0.4695, allocations: 1.369 MB / 0.5227 GB, free: 1.855 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002005/0.4715, allocations: 1.383 MB / 0.524 GB, free: 460 kB / 446.1 MB Notification: Performance of Backend: time 4.71e-07/0.4715, allocations: 0 / 0.524 GB, free: 460 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007268/0.4788, allocations: 3.778 MB / 0.5277 GB, free: 12.71 MB / 462.1 MB Notification: Performance of SimCode: time 0.008381/0.4872, allocations: 6.287 MB / 0.5339 GB, free: 6.375 MB / 462.1 MB Notification: Performance of Templates: time 0.2433/0.7305, allocations: 56.08 MB / 0.5886 GB, free: 86.84 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)