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.001391/0.001391, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001656/0.001656, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.492/1.492, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.002133/0.002133, allocations: 64.75 kB / 378.6 MB, free: 3.254 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2872, allocations: 53.37 MB / 431.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01171/0.2989, allocations: 9.201 MB / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006335/0.3053, allocations: 3.198 MB / 444.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00115/0.3064, allocations: 55.62 kB / 444.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.3082, allocations: 0.7225 MB / 445.1 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.3103, allocations: 0.7652 MB / 445.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007522/0.3111, allocations: 331.4 kB / 446.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002649/0.3137, allocations: 2.144 MB / 448.3 MB, free: 6.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.315, allocations: 0.8325 MB / 449.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.3165, allocations: 0.9576 MB / 450.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.3183, allocations: 1.175 MB / 451.3 MB, free: 3.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003735/0.3187, allocations: 232 kB / 451.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006781/0.3194, allocations: 331.8 kB / 451.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007763/0.3201, allocations: 0.6855 MB / 452.5 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001281/0.3214, allocations: 1.097 MB / 453.6 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003799/0.3252, allocations: 3.154 MB / 456.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3252, allocations: 0 / 456.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3252, allocations: 4 kB / 456.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.375e-05/0.3253, allocations: 0 / 456.8 MB, free: 14.04 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.004784/0.3301, allocations: 2.281 MB / 459.1 MB, free: 11.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.3301, allocations: 16.02 kB / 459.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000319/0.3304, allocations: 236.3 kB / 459.3 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006805/0.3311, allocations: 243.5 kB / 459.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.3333, allocations: 1.168 MB / 460.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.3334, allocations: 119.2 kB / 460.8 MB, free: 9.902 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002652/0.3337, allocations: 152 kB / 461 MB, free: 9.754 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004056/0.3378, allocations: 2.037 MB / 463 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.985e-05/0.3378, allocations: 7.953 kB / 463 MB, free: 7.656 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/0.338, allocations: 68 kB / 463.1 MB, free: 7.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.3381, allocations: 74.92 kB / 463.2 MB, free: 7.516 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003157/0.3412, allocations: 1.674 MB / 464.8 MB, free: 5.836 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01151/0.3527, allocations: 6.918 MB / 471.8 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009307/0.3537, allocations: 449.4 kB / 472.2 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004676/0.3541, allocations: 268.5 kB / 472.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002167/0.3543, allocations: 40.39 kB / 472.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.3544, allocations: 43.41 kB / 472.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.345e-06/0.3544, allocations: 7.938 kB / 472.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.006985/0.3614, allocations: 2.907 MB / 475.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.3614, allocations: 56.06 kB / 475.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/0.3638, allocations: 1.636 MB / 477.2 MB, free: 9.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/0.3638, allocations: 37.7 kB / 477.2 MB, free: 9.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008874/0.3647, allocations: 1.072 MB / 478.3 MB, free: 8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002087/0.3649, allocations: 246 kB / 478.5 MB, free: 7.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004303/0.3654, allocations: 319.3 kB / 478.8 MB, free: 7.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.3655, allocations: 305.1 kB / 479.1 MB, free: 7.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009048/0.3664, allocations: 0.5192 MB / 479.6 MB, free: 6.621 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/0.3681, allocations: 1.462 MB / 481.1 MB, free: 4.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002776/0.3708, allocations: 2.136 MB / 483.2 MB, free: 2.105 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/0.3708, allocations: 12 kB / 483.2 MB, free: 2.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003697/0.3745, allocations: 2.167 MB / 485.4 MB, free: 15.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.632e-05/0.3746, allocations: 20 kB / 485.4 MB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.439e-05/0.3746, allocations: 32 kB / 485.5 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005764/0.3752, allocations: 227 kB / 485.7 MB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.3764, allocations: 395.2 kB / 486.1 MB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.3783, allocations: 1.74 MB / 487.8 MB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.3796, allocations: 147.7 kB / 488 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/0.3797, allocations: 96 kB / 488 MB, free: 13.14 MB / 398.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.000942/0.3807, allocations: 0.5867 MB / 488.6 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002422/0.3809, allocations: 159 kB / 488.8 MB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002001/0.3829, allocations: 1.096 MB / 489.9 MB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.3829, allocations: 4 kB / 489.9 MB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3829, allocations: 7.938 kB / 489.9 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3829, allocations: 144 / 489.9 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004639/0.3876, allocations: 2.727 MB / 492.6 MB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3876, allocations: 4.031 kB / 492.6 MB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005205/0.3881, allocations: 123.8 kB / 492.7 MB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004497/0.3885, allocations: 166.4 kB / 492.9 MB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/0.3886, allocations: 15.98 kB / 492.9 MB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/0.3902, allocations: 1.686 MB / 494.6 MB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3903, allocations: 3.938 kB / 494.6 MB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002721/0.393, allocations: 1.635 MB / 496.2 MB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006356/0.3936, allocations: 230.9 kB / 496.5 MB, free: 4.422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.3938, allocations: 19.92 kB / 496.5 MB, free: 4.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006302/0.3944, allocations: 56 kB / 496.5 MB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.3945, allocations: 52.34 kB / 496.6 MB, free: 4.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/0.3946, allocations: 16 kB / 496.6 MB, free: 4.281 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001633/0.3962, allocations: 1.083 MB / 497.7 MB, free: 3.203 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3962, allocations: 0 / 497.7 MB, free: 3.203 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001346/0.3976, allocations: 363.9 kB / 498.1 MB, free: 2.848 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.003211/0.4008, allocations: 2.249 MB / 0.4886 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002857/0.4036, allocations: 1.417 MB / 0.49 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.4036, allocations: 0 / 0.49 GB, free: 15.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.4047, allocations: 0.5775 MB / 0.4905 GB, free: 14.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/0.4065, allocations: 417.7 kB / 0.4909 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02538/0.4319, allocations: 15 MB / 0.5056 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/0.4332, allocations: 1.469 MB / 0.507 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001115/0.4343, allocations: 350 kB / 0.5073 GB, free: 12.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008582/0.4352, allocations: 0.6399 MB / 0.508 GB, free: 11.53 MB / 430.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4352, allocations: 0 / 0.508 GB, free: 11.53 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3141/0.7493, allocations: 36.97 MB / 0.5441 GB, free: 103.9 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.47, allocations: 7.609 kB / 0.5441 GB, free: 103.9 MB / 446.1 MB " [Timeout remaining time 646] (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: 16.008742531761527] Failed to read output from testmodel.py, exit status != 0: ['time', 'toSpacePhasor.y[1]', 'toSpacePhasor.y[2]', 'hallSensor.y'] 13.578903092071414 13.588782908 13.26123693 Calling exit ...