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.002575/0.002582, allocations: 188.6 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.378/3.378, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001827/0.001827, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005982/0.0005983, allocations: 12 kB / 327 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1507, allocations: 47.58 MB / 374.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.0235/0.1742, allocations: 8.804 MB / 383.3 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02101/0.1953, allocations: 3.209 MB / 386.6 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01532/0.2107, allocations: 35.88 kB / 386.6 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003226/0.214, allocations: 0.556 MB / 387.1 MB, free: 2.785 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006586/0.2207, allocations: 0.9116 MB / 388.1 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004579/0.2253, allocations: 0.5576 MB / 388.6 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.4052/0.6306, allocations: 2.049 MB / 390.7 MB, free: 9.227 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003135/0.6338, allocations: 0.6898 MB / 391.4 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004102/0.638, allocations: 0.9987 MB / 392.4 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00493/0.643, allocations: 1.205 MB / 393.6 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001878/0.645, allocations: 133.4 kB / 393.7 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.6475, allocations: 150.3 kB / 393.8 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00196/0.6495, allocations: 487.1 kB / 394.3 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002334/0.6519, allocations: 0.5095 MB / 394.8 MB, free: 8.977 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009126/0.6611, allocations: 3.288 MB / 398.1 MB, free: 8.758 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.6612, allocations: 0 / 398.1 MB, free: 8.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.6612, allocations: 0 / 398.1 MB, free: 8.758 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002482/0.6615, allocations: 0 / 398.1 MB, free: 8.758 MB / 282.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.01619/0.6777, allocations: 2.733 MB / 400.8 MB, free: 7.188 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/0.6778, allocations: 13.5 kB / 400.9 MB, free: 7.184 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.6798, allocations: 292 kB / 401.1 MB, free: 7.035 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007528/0.6874, allocations: 1.435 MB / 402.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004095/0.6879, allocations: 156 kB / 402.7 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001186/0.6891, allocations: 209.4 kB / 402.9 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01171/0.7008, allocations: 1.85 MB / 404.8 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001572/0.701, allocations: 9.688 kB / 404.8 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000602/0.7017, allocations: 81.06 kB / 404.9 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.61e-05/0.7018, allocations: 50.12 kB / 404.9 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01372/0.7155, allocations: 1.893 MB / 406.8 MB, free: 5.539 MB / 282.7 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.03735/0.7529, allocations: 7.269 MB / 414.1 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01026/0.7633, allocations: 2.227 MB / 416.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005352/0.7639, allocations: 38.7 kB / 416.3 MB, free: 15.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.389e-05/0.764, allocations: 56.72 kB / 416.4 MB, free: 15.87 MB / 298.7 MB Notification: Performance of pre-optimization done (n=234): time 9.879e-06/0.764, allocations: 0 / 416.4 MB, free: 15.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=361): time 0.1686/0.9326, allocations: 17.2 MB / 433.6 MB, free: 15.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2401/1.173, allocations: 30.28 MB / 463.9 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006306/1.179, allocations: 1.777 MB / 465.7 MB, free: 14.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009872/1.18, allocations: 81.7 kB / 465.7 MB, free: 14.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00159/1.182, allocations: 0.9064 MB / 466.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002907/1.185, allocations: 1.194 MB / 467.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006352/1.185, allocations: 68 kB / 467.9 MB, free: 12.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005083/1.186, allocations: 433.8 kB / 468.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007262/1.193, allocations: 1.19 MB / 469.5 MB, free: 11.04 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008028/1.201, allocations: 1.494 MB / 471 MB, free: 9.484 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008189/1.21, allocations: 1.377 MB / 472.4 MB, free: 8.102 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.98e-05/1.21, allocations: 4 kB / 472.4 MB, free: 8.098 MB / 346.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.02855/1.238, allocations: 4.261 MB / 476.7 MB, free: 3.789 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.014e-05/1.238, allocations: 8 kB / 476.7 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-05/1.239, allocations: 4 kB / 476.7 MB, free: 3.777 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.014/1.253, allocations: 1.277 MB / 477.9 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008338/1.261, allocations: 0.5578 MB / 478.5 MB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06267/1.324, allocations: 18.18 MB / 496.7 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006953/1.331, allocations: 150.4 kB / 496.8 MB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001269/1.332, allocations: 112 kB / 496.9 MB, free: 14.56 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (305): * Single equations (assignments): 296 * 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%) 4,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 2 {3 54,2 43} Notification: Performance of prepare postOptimizeDAE: time 0.003943/1.336, allocations: 0.5833 MB / 497.5 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001312/1.337, allocations: 264.8 kB / 497.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02961/1.367, allocations: 4.375 MB / 0.4904 GB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02677/1.394, allocations: 3.83 MB / 0.4941 GB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.951e-05/1.394, allocations: 11.95 kB / 0.4941 GB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001808/1.394, allocations: 15.94 kB / 0.4942 GB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05132/1.445, allocations: 8.706 MB / 0.5027 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.445e-05/1.446, allocations: 2.078 kB / 0.5027 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007148/1.453, allocations: 475.6 kB / 0.5031 GB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01438/1.467, allocations: 1.324 MB / 0.5044 GB, free: 10.74 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00106/1.468, allocations: 71.97 kB / 0.5045 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05916/1.528, allocations: 17 MB / 0.5211 GB, free: 8.742 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.6304/2.158, allocations: 26.92 MB / 0.5474 GB, free: 138.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04003/2.198, allocations: 6.13 MB / 0.5534 GB, free: 137.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003441/2.202, allocations: 0.5859 MB / 0.5539 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001832/2.204, allocations: 66.8 kB / 0.554 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00646/2.21, allocations: 146.1 kB / 0.5541 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002109/2.212, allocations: 265.5 kB / 0.5544 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00102/2.213, allocations: 97.52 kB / 0.5545 GB, free: 137.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005536/2.219, allocations: 1.237 MB / 0.5557 GB, free: 137.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.583e-06/2.219, allocations: 3.219 kB / 0.5557 GB, free: 137.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009582/2.229, allocations: 0.9469 MB / 0.5566 GB, free: 137.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (243): * Single equations (assignments): 236 * 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%) 4,(1,100.0%) 2,(1,100.0%) 5} * Non-linear torn systems: 2 {4 42,5 55} Notification: Performance of Backend phase and start with SimCode phase: time 0.002876/2.232, allocations: 443.3 kB / 0.557 GB, free: 137.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02154/2.253, allocations: 4.431 MB / 0.5614 GB, free: 136.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.619e-05/2.253, allocations: 0 / 0.5614 GB, free: 136.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01372/2.267, allocations: 3.047 MB / 0.5643 GB, free: 134.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005102/2.272, allocations: 315 kB / 0.5646 GB, free: 134.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03213/2.304, allocations: 8.071 MB / 0.5725 GB, free: 130.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004108/2.309, allocations: 1.821 MB / 0.5743 GB, free: 129.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003125/2.312, allocations: 193 kB / 0.5745 GB, free: 129.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.643e-06/2.312, allocations: 0 / 0.5745 GB, free: 129.4 MB / 426.7 MB Notification: Performance of Templates: time 0.2889/2.601, allocations: 123 MB / 0.6946 GB, free: 10.48 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)