Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.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.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_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001579/0.001579, allocations: 181.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.988/1.988, allocations: 205.2 MB / 219.4 MB, free: 14.22 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 86.67 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.215e-05/3.224e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09025/0.0903, allocations: 47.57 MB / 369.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4409/0.5313, allocations: 92 MB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/0.5317, allocations: 79.36 kB / 461.2 MB, free: 1.289 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2228/0.7545, allocations: 50.06 MB / 0.4993 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.7546, allocations: 0 / 0.4993 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001863/0.7548, allocations: 59.98 kB / 0.4993 GB, free: 0.7969 MB / 378.7 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.009059/0.7639, allocations: 2.295 MB / 0.5016 GB, free: 14.44 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.7639, allocations: 8.031 kB / 0.5016 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001261/0.7652, allocations: 296.4 kB / 0.5018 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004545/0.7698, allocations: 1.329 MB / 0.5031 GB, free: 12.76 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/0.77, allocations: 156.1 kB / 0.5033 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005261/0.7705, allocations: 200 kB / 0.5035 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005495/0.776, allocations: 1.788 MB / 0.5052 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.645e-05/0.7762, allocations: 7.906 kB / 0.5052 GB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003214/0.7765, allocations: 84 kB / 0.5053 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.788e-05/0.7766, allocations: 48 kB / 0.5054 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005425/0.782, allocations: 1.77 MB / 0.5071 GB, free: 8.641 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02049/0.8025, allocations: 7.602 MB / 0.5145 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005348/0.8079, allocations: 2.246 MB / 0.5167 GB, free: 14.47 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003692/0.8116, allocations: 1.292 MB / 0.518 GB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002574/0.8119, allocations: 33.97 kB / 0.518 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.682e-05/0.812, allocations: 60.56 kB / 0.5181 GB, free: 13.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=240): time 5.16e-06/0.812, allocations: 0 / 0.5181 GB, free: 13.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=372): time 0.3421/1.154, allocations: 15.28 MB / 0.533 GB, free: 106.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1192/1.273, allocations: 30.85 MB / 0.5631 GB, free: 94.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004147/1.278, allocations: 1.625 MB / 0.5647 GB, free: 94.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007648/1.278, allocations: 84.11 kB / 0.5648 GB, free: 94.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008727/1.279, allocations: 0.8923 MB / 0.5656 GB, free: 93.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001714/1.281, allocations: 1.231 MB / 0.5668 GB, free: 92.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005316/1.282, allocations: 71.55 kB / 0.5669 GB, free: 92.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002599/1.282, allocations: 438.8 kB / 0.5673 GB, free: 92.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004265/1.286, allocations: 1.25 MB / 0.5686 GB, free: 91.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004617/1.291, allocations: 1.543 MB / 0.5701 GB, free: 90.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00454/1.295, allocations: 1.434 MB / 0.5715 GB, free: 90.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.617e-05/1.295, allocations: 0 / 0.5715 GB, free: 90.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=433) (initialization): time 0.01709/1.313, allocations: 4.434 MB / 0.5758 GB, free: 88.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.661e-05/1.313, allocations: 12.95 kB / 0.5758 GB, free: 88.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/1.313, allocations: 7.594 kB / 0.5758 GB, free: 88.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009655/1.322, allocations: 1.351 MB / 0.5771 GB, free: 88.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005877/1.328, allocations: 0.577 MB / 0.5777 GB, free: 88.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03629/1.365, allocations: 19.25 MB / 0.5965 GB, free: 73.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004737/1.369, allocations: 160.2 kB / 0.5966 GB, free: 73.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00052/1.37, allocations: 121.2 kB / 0.5968 GB, free: 73.78 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (314): * Single equations (assignments): 305 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 4,(1,100.0%) 7} * Non-linear torn systems: 2 {3 51,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.0008183/1.371, allocations: 268.9 kB / 0.597 GB, free: 73.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007321/1.372, allocations: 272 kB / 0.5973 GB, free: 73.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01613/1.388, allocations: 4.604 MB / 0.6018 GB, free: 70.23 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01438/1.402, allocations: 4.021 MB / 0.6057 GB, free: 66.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/1.402, allocations: 4 kB / 0.6057 GB, free: 66.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.076e-05/1.402, allocations: 18.33 kB / 0.6057 GB, free: 66.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02816/1.43, allocations: 9.769 MB / 0.6153 GB, free: 58.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.823e-05/1.431, allocations: 4 kB / 0.6153 GB, free: 58.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005056/1.436, allocations: 0.4915 MB / 0.6157 GB, free: 58.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009274/1.445, allocations: 1.39 MB / 0.6171 GB, free: 56.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006226/1.446, allocations: 86.2 kB / 0.6172 GB, free: 56.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03239/1.478, allocations: 17.67 MB / 0.6344 GB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.09236/1.57, allocations: 27.24 MB / 0.661 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0203/1.591, allocations: 6.684 MB / 0.6676 GB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002087/1.593, allocations: 0.6931 MB / 0.6682 GB, free: 6.512 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006423/1.594, allocations: 71.95 kB / 0.6683 GB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003705/1.597, allocations: 167.3 kB / 0.6685 GB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009957/1.598, allocations: 278.4 kB / 0.6687 GB, free: 6.012 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003495/1.599, allocations: 104 kB / 0.6688 GB, free: 5.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002594/1.601, allocations: 1.254 MB / 0.6701 GB, free: 4.664 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.81e-07/1.601, allocations: 4 kB / 0.6701 GB, free: 4.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005046/1.606, allocations: 1.075 MB / 0.6711 GB, free: 3.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 9 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (256): * Single equations (assignments): 249 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 6} * Non-linear torn systems: 2 {3 43,4 53} Notification: Performance of Backend phase and start with SimCode phase: time 0.001512/1.608, allocations: 429.8 kB / 0.6715 GB, free: 3.207 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01141/1.619, allocations: 4.543 MB / 0.676 GB, free: 14.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/1.619, allocations: 0 / 0.676 GB, free: 14.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0087/1.628, allocations: 3.118 MB / 0.679 GB, free: 11.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/1.631, allocations: 302.4 kB / 0.6793 GB, free: 11.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/1.649, allocations: 6.115 MB / 0.6853 GB, free: 4.871 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002248/1.651, allocations: 1.844 MB / 0.6871 GB, free: 2.984 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002161/1.653, allocations: 211.3 kB / 0.6873 GB, free: 2.777 MB / 426.7 MB Notification: Performance of SimCode: time 1.263e-06/1.653, allocations: 0 / 0.6873 GB, free: 2.777 MB / 426.7 MB Notification: Performance of Templates: time 0.4415/2.095, allocations: 127.2 MB / 0.8115 GB, free: 23.73 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1)