Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001813/0.001813, allocations: 120.2 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002182/0.002182, allocations: 205 kB / 21.45 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.44/1.44, allocations: 230.5 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.001935/0.001935, allocations: 79.81 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09557/0.09751, allocations: 53.33 MB / 427 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.2051/0.3026, allocations: 9.147 MB / 436.2 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005094/0.3077, allocations: 3.185 MB / 439.3 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.3089, allocations: 55.44 kB / 439.4 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001827/0.3107, allocations: 0.7232 MB / 440.1 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002097/0.3128, allocations: 0.7521 MB / 440.9 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007344/0.3135, allocations: 318.5 kB / 441.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002558/0.3161, allocations: 2.146 MB / 443.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/0.3174, allocations: 1.02 MB / 444.4 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001725/0.3191, allocations: 0.9572 MB / 445.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/0.3209, allocations: 1.17 MB / 446.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004252/0.3213, allocations: 236.6 kB / 446.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008222/0.3221, allocations: 334.3 kB / 447 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006688/0.3228, allocations: 0.6926 MB / 447.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001225/0.324, allocations: 1.088 MB / 448.8 MB, free: 408 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004555/0.3286, allocations: 3.159 MB / 452 MB, free: 15.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3286, allocations: 0 / 452 MB, free: 15.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3286, allocations: 1.094 kB / 452 MB, free: 15.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001031/0.3287, allocations: 0 / 452 MB, free: 15.26 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.005702/0.3344, allocations: 2.357 MB / 454.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.3344, allocations: 9 kB / 454.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003809/0.3348, allocations: 237.5 kB / 454.6 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007917/0.3356, allocations: 243.2 kB / 454.8 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002301/0.3379, allocations: 1.247 MB / 456.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-05/0.338, allocations: 113.3 kB / 456.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002727/0.3383, allocations: 152.3 kB / 456.3 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003605/0.3419, allocations: 2.034 MB / 458.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.028e-05/0.3419, allocations: 10.72 kB / 458.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/0.3421, allocations: 62.64 kB / 458.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.821e-05/0.3422, allocations: 75.56 kB / 458.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003079/0.3453, allocations: 1.683 MB / 460.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01136/0.3566, allocations: 7.059 MB / 467.2 MB, free: 4.836 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009224/0.3575, allocations: 449.3 kB / 467.7 MB, free: 4.621 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004569/0.358, allocations: 260.2 kB / 467.9 MB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002501/0.3583, allocations: 116.5 kB / 468 MB, free: 4.395 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.3583, allocations: 42.69 kB / 468.1 MB, free: 4.348 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.885e-06/0.3583, allocations: 0 / 468.1 MB, free: 4.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.007771/0.3661, allocations: 3.055 MB / 471.1 MB, free: 2.578 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.3661, allocations: 64.03 kB / 471.2 MB, free: 2.512 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002722/0.3688, allocations: 1.631 MB / 472.8 MB, free: 1.625 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.094e-05/0.3689, allocations: 36.39 kB / 472.9 MB, free: 1.586 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009115/0.3698, allocations: 1.066 MB / 473.9 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/0.3701, allocations: 244.7 kB / 474.2 MB, free: 436 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004592/0.3706, allocations: 323.1 kB / 474.5 MB, free: 240 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3707, allocations: 302.3 kB / 474.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009405/0.3717, allocations: 0.5345 MB / 475.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/0.3734, allocations: 1.453 MB / 476.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002987/0.3764, allocations: 2.137 MB / 478.9 MB, free: 11.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.88e-05/0.3764, allocations: 8 kB / 478.9 MB, free: 11.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004261/0.3807, allocations: 2.165 MB / 481.1 MB, free: 9.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.3807, allocations: 20.62 kB / 481.1 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.692e-05/0.3808, allocations: 36.12 kB / 481.1 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006125/0.3814, allocations: 227.3 kB / 481.4 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/0.3827, allocations: 403.2 kB / 481.8 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.3847, allocations: 1.847 MB / 483.6 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.3864, allocations: 151.3 kB / 483.8 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/0.3866, allocations: 92 kB / 483.8 MB, free: 6.359 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001093/0.3877, allocations: 0.5905 MB / 484.4 MB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004002/0.3881, allocations: 159 kB / 484.6 MB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/0.3903, allocations: 1.094 MB / 485.7 MB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.3904, allocations: 4 kB / 485.7 MB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.3904, allocations: 8 kB / 485.7 MB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.3904, allocations: 3.984 kB / 485.7 MB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00549/0.3959, allocations: 2.746 MB / 488.4 MB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.3959, allocations: 1.688 kB / 488.4 MB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005366/0.3964, allocations: 119.8 kB / 488.6 MB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004799/0.3969, allocations: 178.5 kB / 488.7 MB, free: 1.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.3969, allocations: 12 kB / 488.7 MB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/0.3988, allocations: 1.779 MB / 490.5 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3988, allocations: 3.938 kB / 490.5 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003029/0.4018, allocations: 1.636 MB / 492.2 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009921/0.4028, allocations: 319.8 kB / 492.5 MB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002751/0.4031, allocations: 12 kB / 492.5 MB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007463/0.4038, allocations: 49.2 kB / 492.5 MB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.404, allocations: 48.44 kB / 492.6 MB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.095e-05/0.404, allocations: 27.98 kB / 492.6 MB, free: 13.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001937/0.406, allocations: 1.079 MB / 493.7 MB, free: 12.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.406, allocations: 0 / 493.7 MB, free: 12.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001744/0.4077, allocations: 360 kB / 494 MB, free: 11.83 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003595/0.4113, allocations: 2.253 MB / 496.3 MB, free: 9.523 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003018/0.4143, allocations: 1.576 MB / 497.9 MB, free: 7.898 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.4143, allocations: 4.062 kB / 497.9 MB, free: 7.895 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.4155, allocations: 0.724 MB / 498.6 MB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/0.4179, allocations: 417.7 kB / 499 MB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02449/0.4423, allocations: 14.98 MB / 0.5019 GB, free: 6.637 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/0.4437, allocations: 1.465 MB / 0.5034 GB, free: 5.141 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001094/0.4448, allocations: 359.3 kB / 0.5037 GB, free: 4.789 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009679/0.4457, allocations: 0.636 MB / 0.5043 GB, free: 4.156 MB / 414.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4457, allocations: 0 / 0.5043 GB, free: 4.156 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08681/0.5326, allocations: 35.78 MB / 0.5393 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.96, allocations: 8 kB / 0.5393 GB, free: 0.7734 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.csv --start-time 0 --stop-time 0.32 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.443125119898468] Failed to read output from testmodel.py, exit status != 0: ['time', 'toSpacePhasor.y[1]', 'toSpacePhasor.y[2]', 'hallSensor.y'] 13.066192699130625 13.08856039 12.755489763 Calling exit ...