Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001807/0.001807, allocations: 117.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002048/0.002048, allocations: 200.7 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.56/1.56, allocations: 227.7 MB / 247.2 MB, free: 10.21 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 60.08 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3059, allocations: 50.55 MB / 409.1 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic): time 0.01519/0.3211, allocations: 11.41 MB / 420.5 MB, free: 6.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009128/0.3303, allocations: 3.51 MB / 424 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003073/0.3335, allocations: 39.88 kB / 424 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002238/0.3357, allocations: 0.7026 MB / 424.7 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004813/0.3406, allocations: 0.9736 MB / 425.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003245/0.3439, allocations: 0.9433 MB / 426.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007074/0.351, allocations: 3.548 MB / 430.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002035/0.353, allocations: 0.9025 MB / 431.1 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002989/0.356, allocations: 1.324 MB / 432.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003487/0.3595, allocations: 1.556 MB / 434 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001341/0.3609, allocations: 360 kB / 434.3 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.3624, allocations: 395.9 kB / 434.7 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009849/0.3634, allocations: 0.7319 MB / 435.4 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002966/0.3663, allocations: 1.532 MB / 437 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00746/0.3738, allocations: 4.42 MB / 441.4 MB, free: 1.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.024e-05/0.3739, allocations: 4 kB / 441.4 MB, free: 1.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.498e-06/0.3739, allocations: 0 / 441.4 MB, free: 1.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002087/0.3741, allocations: 0 / 441.4 MB, free: 1.008 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.01026/0.3844, allocations: 3.284 MB / 444.7 MB, free: 13.65 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.206e-05/0.3845, allocations: 12.03 kB / 444.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006977/0.3852, allocations: 291.6 kB / 445 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001347/0.3866, allocations: 370.9 kB / 445.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00358/0.3902, allocations: 1.487 MB / 446.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002909/0.3905, allocations: 156.2 kB / 447 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004871/0.391, allocations: 208 kB / 447.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004561/0.3956, allocations: 1.87 MB / 449.1 MB, free: 9.152 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.578e-05/0.3957, allocations: 3.953 kB / 449.1 MB, free: 9.148 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003288/0.396, allocations: 88 kB / 449.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.565e-05/0.3961, allocations: 48 kB / 449.2 MB, free: 9.016 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004646/0.4007, allocations: 1.863 MB / 451.1 MB, free: 7.137 MB / 366.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.01612/0.4169, allocations: 7.477 MB / 458.5 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004048/0.421, allocations: 2.279 MB / 460.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00298/0.424, allocations: 1.378 MB / 462.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/0.4242, allocations: 37.97 kB / 462.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.4243, allocations: 56.56 kB / 462.3 MB, free: 11.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=238): time 1.65e-05/0.4243, allocations: 0 / 462.3 MB, free: 11.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=355): time 0.06718/0.4915, allocations: 17.78 MB / 480.1 MB, free: 9.605 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/0.4916, allocations: 90.2 kB / 480.1 MB, free: 9.504 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003467/0.4951, allocations: 1.984 MB / 482.1 MB, free: 7.473 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006058/0.4958, allocations: 81.7 kB / 482.2 MB, free: 7.387 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.4969, allocations: 1.043 MB / 483.3 MB, free: 6.336 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001623/0.4986, allocations: 1.228 MB / 484.5 MB, free: 5.098 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001212/0.4998, allocations: 0.4996 MB / 485 MB, free: 4.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.5, allocations: 305.1 kB / 485.3 MB, free: 4.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002946/0.5029, allocations: 1.201 MB / 486.5 MB, free: 3.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003189/0.5061, allocations: 1.506 MB / 488 MB, free: 1.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006424/0.5126, allocations: 2.855 MB / 490.8 MB, free: 14.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.8e-05/0.5126, allocations: 4 kB / 490.8 MB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.01184/0.5245, allocations: 4.449 MB / 495.3 MB, free: 10.08 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.5246, allocations: 12 kB / 495.3 MB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.166e-05/0.5246, allocations: 4 kB / 495.3 MB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005862/0.5305, allocations: 1.349 MB / 496.7 MB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003/0.5335, allocations: 0.5149 MB / 497.2 MB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03118/0.5647, allocations: 20.69 MB / 0.5057 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002709/0.5675, allocations: 87.97 kB / 0.5058 GB, free: 2.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003822/0.5679, allocations: 108 kB / 0.5059 GB, free: 2.324 MB / 430.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 (302): * Single equations (assignments): 295 * 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.001511/0.5695, allocations: 0.5912 MB / 0.5065 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008693/0.5703, allocations: 282.2 kB / 0.5068 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/0.5816, allocations: 4.371 MB / 0.511 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-05/0.5817, allocations: 32 kB / 0.5111 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.5818, allocations: 4 kB / 0.5111 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001466/0.5819, allocations: 19.92 kB / 0.5111 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01948/0.6014, allocations: 8.416 MB / 0.5193 GB, free: 4.363 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.111e-05/0.6015, allocations: 4 kB / 0.5193 GB, free: 4.359 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002645/0.6041, allocations: 447.4 kB / 0.5197 GB, free: 3.922 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005601/0.6098, allocations: 1.267 MB / 0.521 GB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005852/0.6104, allocations: 71.92 kB / 0.521 GB, free: 2.566 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2958/0.9062, allocations: 19.26 MB / 0.5398 GB, free: 121.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.9063, allocations: 2.781 kB / 0.5398 GB, free: 121.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/0.9196, allocations: 6.069 MB / 0.5458 GB, free: 120.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/0.921, allocations: 0.6433 MB / 0.5464 GB, free: 120.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003827/0.9214, allocations: 65.67 kB / 0.5465 GB, free: 120 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/0.9231, allocations: 94.83 kB / 0.5466 GB, free: 120 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006093/0.9237, allocations: 269.3 kB / 0.5468 GB, free: 119.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001652/0.9239, allocations: 90.59 kB / 0.5469 GB, free: 119.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001667/0.9256, allocations: 1.384 MB / 0.5483 GB, free: 119.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9256, allocations: 0 / 0.5483 GB, free: 119.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00267/0.9282, allocations: 0.8818 MB / 0.5491 GB, free: 119.2 MB / 462.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 (247): * Single equations (assignments): 240 * 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.01244/0.9407, allocations: 6.959 MB / 0.5559 GB, free: 115.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006721/0.9475, allocations: 4.425 MB / 0.5602 GB, free: 111.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.641e-05/0.9475, allocations: 4 kB / 0.5602 GB, free: 111.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004126/0.9517, allocations: 2.958 MB / 0.5631 GB, free: 109 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/0.954, allocations: 401.5 kB / 0.5635 GB, free: 108.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0398/0.9938, allocations: 24.04 MB / 0.587 GB, free: 85.58 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/0.9951, allocations: 1.743 MB / 0.5887 GB, free: 83.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0016/0.9967, allocations: 307.5 kB / 0.589 GB, free: 83.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/0.9981, allocations: 1.093 MB / 0.59 GB, free: 82.41 MB / 462.1 MB Notification: Performance of SimCode: time 7.61e-07/0.9981, allocations: 4 kB / 0.59 GB, free: 82.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1718/1.17, allocations: 78.38 MB / 0.6666 GB, free: 4.641 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.2/23.37, allocations: 8.125 kB / 0.6666 GB, free: 4.633 MB / 462.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_4_1_0-beta_om_Modelica_Magnetic_FluxTubes_Examples_SolenoidActuator_ComparisonQuasiStatic.fmu > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStatic.pipe 2>&1)