Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001806/0.001806, allocations: 105.6 kB / 17.06 MB, free: 6.145 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.002167/0.002167, allocations: 195 kB / 18 MB, free: 5.219 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.464/1.464, allocations: 205.1 MB / 223.9 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.001284/0.001284, allocations: 51.92 kB / 327.9 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09976/0.1011, allocations: 46.62 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary): time 0.1964/0.2974, allocations: 10.97 MB / 385.5 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006226/0.3037, allocations: 3.213 MB / 388.7 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/0.3056, allocations: 40.38 kB / 388.7 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001351/0.307, allocations: 0.6835 MB / 389.4 MB, free: 4.969 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002716/0.3098, allocations: 0.8856 MB / 390.3 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.3118, allocations: 0.914 MB / 391.2 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003955/0.3157, allocations: 3.463 MB / 394.7 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.317, allocations: 0.8965 MB / 395.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003002/0.32, allocations: 1.294 MB / 396.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001833/0.3219, allocations: 1.509 MB / 398.4 MB, free: 228 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004375/0.3223, allocations: 349.6 kB / 398.7 MB, free: 228 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006195/0.3229, allocations: 386.5 kB / 399.1 MB, free: 212 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006088/0.3236, allocations: 0.7128 MB / 399.8 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001313/0.3249, allocations: 1.477 MB / 401.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003809/0.3287, allocations: 4.26 MB / 405.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.3287, allocations: 5.25 kB / 405.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3287, allocations: 0 / 405.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.585e-05/0.3288, allocations: 3.938 kB / 405.5 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.007096/0.3359, allocations: 3.125 MB / 408.7 MB, free: 9.688 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.336, allocations: 14.08 kB / 408.7 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005002/0.3365, allocations: 291.2 kB / 409 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/0.3391, allocations: 1.408 MB / 410.4 MB, free: 8.414 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/0.3393, allocations: 156.8 kB / 410.5 MB, free: 8.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003579/0.3397, allocations: 210.1 kB / 410.7 MB, free: 8.266 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004257/0.344, allocations: 1.888 MB / 412.6 MB, free: 7.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.314e-05/0.344, allocations: 10.09 kB / 412.6 MB, free: 7.137 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/0.3442, allocations: 81.56 kB / 412.7 MB, free: 7.074 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/0.3443, allocations: 49.25 kB / 412.7 MB, free: 7.074 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004085/0.3484, allocations: 1.911 MB / 414.7 MB, free: 6.121 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.01288/0.3613, allocations: 7.359 MB / 422 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003547/0.3648, allocations: 2.297 MB / 424.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002672/0.3675, allocations: 1.413 MB / 425.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.3677, allocations: 41.95 kB / 425.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.3677, allocations: 56.56 kB / 425.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=234): time 4.308e-06/0.3677, allocations: 0 / 425.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=351): time 0.05886/0.4266, allocations: 17.57 MB / 443.4 MB, free: 10 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.102e-05/0.4267, allocations: 90.11 kB / 443.5 MB, free: 9.902 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/0.4292, allocations: 1.844 MB / 445.3 MB, free: 8.055 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002665/0.4295, allocations: 81.7 kB / 445.4 MB, free: 7.969 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007182/0.4302, allocations: 0.9733 MB / 446.4 MB, free: 6.984 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008925/0.4311, allocations: 1.159 MB / 447.5 MB, free: 5.809 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000844/0.432, allocations: 499.5 kB / 448 MB, free: 5.312 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.4321, allocations: 305.1 kB / 448.3 MB, free: 5.012 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002304/0.4344, allocations: 1.221 MB / 449.5 MB, free: 3.789 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002515/0.4369, allocations: 1.533 MB / 451.1 MB, free: 2.195 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004975/0.4419, allocations: 2.874 MB / 453.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.4419, allocations: 0 / 453.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=412) (initialization): time 0.009971/0.4519, allocations: 4.455 MB / 458.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.452, allocations: 4 kB / 458.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.452, allocations: 4 kB / 458.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005205/0.4572, allocations: 1.33 MB / 459.7 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002545/0.4598, allocations: 0.5227 MB / 460.3 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02555/0.4853, allocations: 20.58 MB / 480.8 MB, free: 3.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003074/0.4884, allocations: 111.9 kB / 481 MB, free: 3.172 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003546/0.4888, allocations: 111.9 kB / 481.1 MB, free: 3.062 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.001303/0.4901, allocations: 0.5793 MB / 481.6 MB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00049/0.4906, allocations: 252.9 kB / 481.9 MB, free: 2.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009743/0.5004, allocations: 4.392 MB / 486.3 MB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/0.5004, allocations: 32 kB / 486.3 MB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.5005, allocations: 7.938 kB / 486.3 MB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.22e-05/0.5005, allocations: 20.06 kB / 486.3 MB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/0.5159, allocations: 8.378 MB / 494.7 MB, free: 5.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.516, allocations: 4 kB / 494.7 MB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002279/0.5183, allocations: 455.7 kB / 495.2 MB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004973/0.5233, allocations: 1.259 MB / 496.4 MB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002312/0.5235, allocations: 63.98 kB / 496.5 MB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02292/0.5464, allocations: 19.19 MB / 0.5036 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.5465, allocations: 4 kB / 0.5036 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/0.5599, allocations: 6.105 MB / 0.5096 GB, free: 8.965 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/0.5613, allocations: 0.611 MB / 0.5101 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003567/0.5617, allocations: 63.94 kB / 0.5102 GB, free: 8.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/0.5634, allocations: 111.9 kB / 0.5103 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006109/0.5641, allocations: 254.7 kB / 0.5106 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001918/0.5643, allocations: 95.97 kB / 0.5106 GB, free: 7.816 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001665/0.5659, allocations: 1.286 MB / 0.5119 GB, free: 6.539 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.566, allocations: 0 / 0.5119 GB, free: 6.539 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002789/0.5688, allocations: 0.875 MB / 0.5128 GB, free: 5.664 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (advancedSolenoid.coil1.i,advancedSolenoid.coil2.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedFeed_x.s,advancedFeed_x.v,simpleSolenoid.coil.i,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 (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,2,100.0%), (1,2,100.0%), (1,4,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,41), (3,49)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001056/0.5698, allocations: 441.2 kB / 0.5132 GB, free: 5.223 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007604/0.5774, allocations: 4.457 MB / 0.5175 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.5775, allocations: 1.125 kB / 0.5175 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004897/0.5824, allocations: 2.976 MB / 0.5204 GB, free: 13.58 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/0.5845, allocations: 385.5 kB / 0.5208 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.5954, allocations: 5.6 MB / 0.5263 GB, free: 7.531 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/0.5968, allocations: 1.706 MB / 0.5279 GB, free: 5.785 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001731/0.5985, allocations: 296.1 kB / 0.5282 GB, free: 5.492 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006327/0.5992, allocations: 155.4 kB / 0.5284 GB, free: 5.34 MB / 462.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5992, allocations: 0 / 0.5284 GB, free: 5.34 MB / 462.1 MB Notification: Performance of Templates: time 0.2879/0.8871, allocations: 54.59 MB / 0.5817 GB, free: 139.5 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1)