Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedSolenoid.armature.stopper_xMax.v_rel|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleSolenoid.armature.stopper_xMax.v_rel|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002209/0.002209, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.022/2.022, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001149/0.001148, allocations: 90.61 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.214e-05/2.261e-05, allocations: 0 / 314.8 MB, free: 9.156 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.337, allocations: 47.57 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1461/0.4832, allocations: 91.73 MB / 454.1 MB, free: 10.54 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003453/0.4836, allocations: 87.02 kB / 454.2 MB, free: 10.45 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6273/1.111, allocations: 77.3 MB / 0.519 GB, free: 101 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.515e-06/1.111, allocations: 3.938 kB / 0.519 GB, free: 101 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.001202/1.112, allocations: 115.5 kB / 0.5191 GB, free: 101 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.01739/1.13, allocations: 5.538 MB / 0.5245 GB, free: 98.21 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/1.13, allocations: 7 kB / 0.5245 GB, free: 98.21 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003378/1.133, allocations: 0.8661 MB / 0.5254 GB, free: 97.75 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01509/1.148, allocations: 3.594 MB / 0.5289 GB, free: 96.55 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000171/1.148, allocations: 71.06 kB / 0.529 GB, free: 96.55 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007971/1.149, allocations: 122.4 kB / 0.5291 GB, free: 96.54 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006038/1.155, allocations: 1.678 MB / 0.5307 GB, free: 96.52 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005109/1.16, allocations: 1.719 MB / 0.5324 GB, free: 96.37 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.96e-05/1.161, allocations: 6.797 kB / 0.5324 GB, free: 96.37 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000246/1.161, allocations: 0 / 0.5324 GB, free: 96.37 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.403e-05/1.161, allocations: 56.22 kB / 0.5324 GB, free: 96.37 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02929/1.19, allocations: 9.733 MB / 0.542 GB, free: 92.53 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00513/1.195, allocations: 2.187 MB / 0.5441 GB, free: 91.34 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003744/1.199, allocations: 1.241 MB / 0.5453 GB, free: 90.85 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003391/1.2, allocations: 36.23 kB / 0.5453 GB, free: 90.85 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003037/1.203, allocations: 1.045 MB / 0.5464 GB, free: 90.35 MB / 395.1 MB Notification: Performance of pre-optimization done (n=246): time 8.035e-06/1.203, allocations: 0 / 0.5464 GB, free: 90.35 MB / 395.1 MB Notification: Performance of matching and sorting (n=382): time 0.06796/1.271, allocations: 16.56 MB / 0.5625 GB, free: 76.62 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/1.271, allocations: 270.6 kB / 0.5628 GB, free: 76.3 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1732/1.444, allocations: 12.89 MB / 0.5754 GB, free: 64.28 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007221/1.445, allocations: 29.7 kB / 0.5754 GB, free: 64.25 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004707/1.45, allocations: 2.622 MB / 0.578 GB, free: 61.61 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001643/1.451, allocations: 1.216 MB / 0.5792 GB, free: 60.38 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005146/1.452, allocations: 0 / 0.5792 GB, free: 60.38 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0002288/1.452, allocations: 446.2 kB / 0.5796 GB, free: 59.93 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003623/1.456, allocations: 1.206 MB / 0.5808 GB, free: 58.73 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004136/1.46, allocations: 1.535 MB / 0.5823 GB, free: 57.12 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004084/1.464, allocations: 1.398 MB / 0.5836 GB, free: 55.73 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-05/1.464, allocations: 0 / 0.5836 GB, free: 55.73 MB / 395.1 MB Notification: Performance of matching and sorting (n=445) (initialization): time 0.0161/1.48, allocations: 4.288 MB / 0.5878 GB, free: 51.41 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/1.48, allocations: 7.953 kB / 0.5878 GB, free: 51.4 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.849e-05/1.48, allocations: 4 kB / 0.5878 GB, free: 51.4 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009756/1.49, allocations: 1.371 MB / 0.5892 GB, free: 50.01 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005835/1.496, allocations: 0.5734 MB / 0.5897 GB, free: 49.43 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03753/1.534, allocations: 21.42 MB / 0.6106 GB, free: 27 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007149/1.541, allocations: 124 kB / 0.6108 GB, free: 26.88 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/1.542, allocations: 127.9 kB / 0.6109 GB, free: 26.75 MB / 395.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: simpleSolenoid.g_mAirPar.V_m:DUMMY_STATE(unit = "A" ) "Magnetic potential difference of ports" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEvent,$PRE.comparisonWithFEA.nextTimeEventScaled,comparisonWithFEA.nextTimeEventScaled,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (318): * Single equations (assignments): 307 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 3,(1,100.0%) 7,(1,100.0%) 4} * Non-linear torn systems: 2 {3 42,3 51} Notification: Performance of prepare postOptimizeDAE: time 0.001027/1.543, allocations: 152.4 kB / 0.611 GB, free: 26.6 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00393/1.547, allocations: 0.8565 MB / 0.6119 GB, free: 25.73 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01968/1.567, allocations: 5.115 MB / 0.6169 GB, free: 20.58 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008259/1.575, allocations: 2.238 MB / 0.619 GB, free: 18.33 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.589e-05/1.575, allocations: 4 kB / 0.619 GB, free: 18.32 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001366/1.575, allocations: 19.92 kB / 0.6191 GB, free: 18.3 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04763/1.623, allocations: 13.45 MB / 0.6322 GB, free: 4.793 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.391e-05/1.623, allocations: 4 kB / 0.6322 GB, free: 4.789 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005142/1.628, allocations: 0.4918 MB / 0.6327 GB, free: 4.297 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009933/1.638, allocations: 1.415 MB / 0.6341 GB, free: 2.859 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008355/1.639, allocations: 31.95 kB / 0.6341 GB, free: 2.828 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3428/1.982, allocations: 19.67 MB / 0.6533 GB, free: 100.3 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1011/2.083, allocations: 26.42 MB / 0.6791 GB, free: 92.51 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02565/2.109, allocations: 7.527 MB / 0.6865 GB, free: 88.9 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006116/2.115, allocations: 1.591 MB / 0.688 GB, free: 88.19 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003112/2.118, allocations: 25.81 kB / 0.688 GB, free: 88.19 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006563/2.125, allocations: 109 kB / 0.6881 GB, free: 88.19 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001397/2.126, allocations: 296.8 kB / 0.6884 GB, free: 88.14 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006002/2.127, allocations: 104.2 kB / 0.6885 GB, free: 88.12 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.02625/2.153, allocations: 10.28 MB / 0.6986 GB, free: 84.17 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.022e-06/2.153, allocations: 0 / 0.6986 GB, free: 84.17 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.009906/2.163, allocations: 1.594 MB / 0.7001 GB, free: 84.16 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 ($STATESET7710024073.x[2],$STATESET7710024073.x[1],advancedSolenoid.x,advancedSolenoid.armature.stopper_xMin.v_rel,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,$STATESET7710024072.x,simpleSolenoid.x,simpleSolenoid.armature.stopper_xMin.v_rel) * Number of discrete variables: 7 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact,$whenCondition1,comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Number of discrete states: 2 (comparisonWithFEA.nextTimeEvent,comparisonWithFEA.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (265): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {4 53,3 43} Notification: Performance of Backend phase and start with SimCode phase: time 0.001993/2.165, allocations: 403.9 kB / 0.7005 GB, free: 83.99 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.01214/2.177, allocations: 4.6 MB / 0.705 GB, free: 81.5 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/2.177, allocations: 3.938 kB / 0.705 GB, free: 81.5 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007984/2.185, allocations: 3.214 MB / 0.7081 GB, free: 78.44 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006187/2.191, allocations: 432.3 kB / 0.7085 GB, free: 78.07 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04481/2.236, allocations: 17.61 MB / 0.7257 GB, free: 62.46 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009775/2.246, allocations: 4.207 MB / 0.7299 GB, free: 59.46 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00487/2.251, allocations: 391.2 kB / 0.7302 GB, free: 59.16 MB / 411.1 MB Notification: Performance of SimCode: time 1.402e-06/2.251, allocations: 0 / 0.7302 GB, free: 59.16 MB / 411.1 MB Notification: Performance of Templates: time 2.504/4.755, allocations: 0.5431 GB / 1.273 GB, free: 37.48 MB / 459.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonPullInStroke.pipe 2>&1)