Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_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.001674/0.001674, allocations: 110.6 kB / 18.4 MB, free: 4.699 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.001986/0.001986, allocations: 186.2 kB / 19.34 MB, free: 3.777 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.381/1.381, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.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.001291/0.001291, allocations: 51.91 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08073/0.08204, allocations: 46.63 MB / 375.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.1811/0.2631, allocations: 10.98 MB / 386.8 MB, free: 7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007092/0.2702, allocations: 3.211 MB / 390 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002359/0.2727, allocations: 38.47 kB / 390.1 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001973/0.2747, allocations: 0.684 MB / 390.7 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003406/0.2781, allocations: 0.8856 MB / 391.6 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.2804, allocations: 0.9248 MB / 392.6 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004296/0.2847, allocations: 3.457 MB / 396 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001312/0.286, allocations: 0.8934 MB / 396.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002058/0.2881, allocations: 1.296 MB / 398.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002611/0.2907, allocations: 1.51 MB / 399.7 MB, free: 208 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009549/0.2917, allocations: 353.9 kB / 400.1 MB, free: 204 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001331/0.293, allocations: 385.4 kB / 400.4 MB, free: 188 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006976/0.2937, allocations: 0.7055 MB / 401.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001724/0.2955, allocations: 1.478 MB / 402.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004283/0.2998, allocations: 4.256 MB / 406.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2998, allocations: 0.9375 kB / 406.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2998, allocations: 0 / 406.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.718e-05/0.2999, allocations: 0 / 406.9 MB, free: 11.87 MB / 334.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.007232/0.3071, allocations: 3.13 MB / 410 MB, free: 9.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.3072, allocations: 7.594 kB / 410 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005276/0.3077, allocations: 293.1 kB / 410.3 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/0.3102, allocations: 1.411 MB / 411.7 MB, free: 8.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.3104, allocations: 153 kB / 411.9 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003069/0.3107, allocations: 210.8 kB / 412.1 MB, free: 8.266 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003539/0.3143, allocations: 1.888 MB / 414 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.094e-05/0.3143, allocations: 13.23 kB / 414 MB, free: 7.133 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001738/0.3145, allocations: 82.06 kB / 414 MB, free: 7.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.185e-05/0.3146, allocations: 49.47 kB / 414.1 MB, free: 7.07 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003769/0.3183, allocations: 1.911 MB / 416 MB, free: 6.117 MB / 334.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.01188/0.3302, allocations: 7.357 MB / 423.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003595/0.3339, allocations: 2.301 MB / 425.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002699/0.3366, allocations: 1.409 MB / 427.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.3367, allocations: 37.97 kB / 427.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.011e-05/0.3368, allocations: 56.56 kB / 427.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=234): time 4.399e-06/0.3368, allocations: 4 kB / 427.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=351): time 0.06164/0.3984, allocations: 17.57 MB / 444.7 MB, free: 10 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.3985, allocations: 94.17 kB / 444.8 MB, free: 9.898 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/0.4013, allocations: 1.84 MB / 446.7 MB, free: 8.055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002703/0.4016, allocations: 81.7 kB / 446.7 MB, free: 7.969 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007409/0.4023, allocations: 0.9771 MB / 447.7 MB, free: 6.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001128/0.4034, allocations: 1.159 MB / 448.9 MB, free: 5.805 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00116/0.4046, allocations: 0.4955 MB / 449.4 MB, free: 5.301 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4048, allocations: 305.1 kB / 449.7 MB, free: 5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002722/0.4075, allocations: 1.213 MB / 450.9 MB, free: 3.785 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002793/0.4103, allocations: 1.529 MB / 452.4 MB, free: 2.195 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008041/0.4184, allocations: 2.878 MB / 455.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.263e-05/0.4184, allocations: 0 / 455.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.01798/0.4364, allocations: 4.447 MB / 459.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.4365, allocations: 8 kB / 459.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.76e-05/0.4365, allocations: 7.984 kB / 459.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008311/0.4449, allocations: 1.334 MB / 461.1 MB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004451/0.4493, allocations: 0.5227 MB / 461.6 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03724/0.4866, allocations: 20.59 MB / 482.2 MB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/0.4893, allocations: 115.9 kB / 482.3 MB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002427/0.4895, allocations: 108 kB / 482.4 MB, free: 3.043 MB / 398.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.001196/0.4907, allocations: 0.5754 MB / 483 MB, free: 2.457 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004286/0.4912, allocations: 256.9 kB / 483.2 MB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/0.5019, allocations: 4.396 MB / 487.6 MB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.905e-05/0.502, allocations: 15.94 kB / 487.7 MB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.502, allocations: 0 / 487.7 MB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001365/0.5034, allocations: 0.607 MB / 488.3 MB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003523/0.5037, allocations: 64 kB / 488.3 MB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001765/0.5055, allocations: 111.9 kB / 488.4 MB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005329/0.5061, allocations: 282.2 kB / 488.7 MB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01105/0.5171, allocations: 4.333 MB / 493 MB, free: 8.254 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008467/0.5256, allocations: 4.999 MB / 498 MB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00247/0.5281, allocations: 1.392 MB / 499.4 MB, free: 1.793 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001754/0.5299, allocations: 1.286 MB / 0.489 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of Backend: time 5.21e-07/0.5299, allocations: 4 kB / 0.489 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007515/0.5374, allocations: 3.784 MB / 0.4927 GB, free: 12.62 MB / 430.1 MB Notification: Performance of SimCode: time 0.01013/0.5476, allocations: 6.125 MB / 0.4987 GB, free: 6.43 MB / 430.1 MB Notification: Performance of Templates: time 0.253/0.8006, allocations: 56.43 MB / 0.5538 GB, free: 155.7 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1)