Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 112.2 kB / 17.75 MB, free: 5.332 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.001079/0.001079, allocations: 189.3 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 47.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2435, allocations: 49.43 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic): time 0.01159/0.2551, allocations: 11.11 MB / 412.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005834/0.261, allocations: 3.276 MB / 415.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.262, allocations: 35.94 kB / 415.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.2631, allocations: 0.6793 MB / 416.5 MB, free: 9.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.2648, allocations: 0.9116 MB / 417.4 MB, free: 8.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001506/0.2663, allocations: 0.9323 MB / 418.4 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002771/0.2691, allocations: 3.459 MB / 421.8 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.2701, allocations: 0.8955 MB / 422.7 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.2713, allocations: 1.289 MB / 424 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/0.2727, allocations: 1.51 MB / 425.5 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003747/0.2731, allocations: 352 kB / 425.9 MB, free: 304 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005047/0.2736, allocations: 384 kB / 426.2 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000505/0.2742, allocations: 0.7163 MB / 426.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.2753, allocations: 1.477 MB / 428.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003187/0.2785, allocations: 4.252 MB / 432.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2785, allocations: 0 / 432.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.2785, allocations: 0 / 432.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.993e-05/0.2785, allocations: 7.938 kB / 432.7 MB, free: 9.449 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: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.006209/0.2848, allocations: 3.119 MB / 435.8 MB, free: 6.262 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2848, allocations: 8.031 kB / 435.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003999/0.2852, allocations: 297.4 kB / 436.1 MB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002246/0.2875, allocations: 1.411 MB / 437.5 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001101/0.2876, allocations: 160.5 kB / 437.7 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002754/0.2879, allocations: 208 kB / 437.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003526/0.2914, allocations: 1.889 MB / 439.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.529e-05/0.2915, allocations: 0 / 439.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.2916, allocations: 88 kB / 439.8 MB, free: 2.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/0.2917, allocations: 51.94 kB / 439.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003758/0.2955, allocations: 1.906 MB / 441.8 MB, free: 132 kB / 350.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.01082/0.3063, allocations: 7.386 MB / 449.2 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003508/0.3098, allocations: 2.278 MB / 451.5 MB, free: 6.145 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00279/0.3126, allocations: 1.401 MB / 452.9 MB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.3127, allocations: 45.95 kB / 452.9 MB, free: 4.695 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.3128, allocations: 56.56 kB / 453 MB, free: 4.633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=234): time 3.897e-06/0.3128, allocations: 0 / 453 MB, free: 4.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=351): time 0.05866/0.3715, allocations: 17.6 MB / 470.6 MB, free: 2.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.3715, allocations: 86.17 kB / 470.6 MB, free: 2.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002643/0.3742, allocations: 1.84 MB / 472.5 MB, free: 0.8867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002206/0.3744, allocations: 85.7 kB / 472.6 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007344/0.3752, allocations: 0.9773 MB / 473.5 MB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000905/0.3761, allocations: 1.155 MB / 474.7 MB, free: 14.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009236/0.377, allocations: 499.4 kB / 475.2 MB, free: 14.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3772, allocations: 301.1 kB / 475.5 MB, free: 13.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002737/0.3799, allocations: 1.225 MB / 476.7 MB, free: 12.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002821/0.3827, allocations: 1.521 MB / 478.2 MB, free: 11.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005381/0.3881, allocations: 2.878 MB / 481.1 MB, free: 8.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.3882, allocations: 11.94 kB / 481.1 MB, free: 8.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01048/0.3986, allocations: 4.443 MB / 485.6 MB, free: 3.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.3987, allocations: 8 kB / 485.6 MB, free: 3.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.3987, allocations: 4 kB / 485.6 MB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005445/0.4042, allocations: 1.326 MB / 486.9 MB, free: 2.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002665/0.4068, allocations: 0.5305 MB / 487.4 MB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02723/0.4341, allocations: 20.59 MB / 0.4961 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002588/0.4367, allocations: 104 kB / 0.4962 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004693/0.4372, allocations: 104 kB / 0.4963 GB, free: 11.91 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 (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.00144/0.4387, allocations: 0.5871 MB / 0.4969 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006019/0.4393, allocations: 256.9 kB / 0.4971 GB, free: 11.06 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/0.4499, allocations: 4.388 MB / 0.5014 GB, free: 6.605 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-05/0.45, allocations: 19.92 kB / 0.5014 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.45, allocations: 0 / 0.5014 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/0.4512, allocations: 0.6188 MB / 0.502 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004965/0.4517, allocations: 59.91 kB / 0.5021 GB, free: 5.887 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001892/0.4536, allocations: 103.9 kB / 0.5022 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005979/0.4543, allocations: 286.3 kB / 0.5025 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01215/0.4664, allocations: 4.325 MB / 0.5067 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00886/0.4753, allocations: 4.999 MB / 0.5116 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002392/0.4777, allocations: 1.4 MB / 0.5129 GB, free: 10.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001878/0.4796, allocations: 1.29 MB / 0.5142 GB, free: 9.367 MB / 446.1 MB Notification: Performance of Backend: time 7.21e-07/0.4796, allocations: 0 / 0.5142 GB, free: 9.367 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007712/0.4873, allocations: 3.775 MB / 0.5179 GB, free: 5.648 MB / 446.1 MB Notification: Performance of SimCode: time 0.009304/0.4967, allocations: 6.125 MB / 0.5239 GB, free: 15.46 MB / 462.1 MB Notification: Performance of Templates: time 0.2617/0.7584, allocations: 54.93 MB / 0.5775 GB, free: 103.4 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe 2>&1)