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.SMEE_DOL.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.001684/0.001684, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002004/0.002004, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.441/1.441, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.SMEE_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL",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.002607/0.002607, allocations: 68.75 kB / 378.6 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2662, allocations: 53.37 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01439/0.2805, allocations: 11.95 MB / 443.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008885/0.2894, allocations: 4.006 MB / 447.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001914/0.2913, allocations: 87.44 kB / 448 MB, free: 6.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002316/0.2937, allocations: 0.8894 MB / 448.9 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00312/0.2968, allocations: 1.041 MB / 449.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.2982, allocations: 0.5382 MB / 450.4 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004464/0.3026, allocations: 3.475 MB / 453.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00244/0.3051, allocations: 1.541 MB / 455.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002443/0.3075, allocations: 1.577 MB / 457 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00322/0.3107, allocations: 1.997 MB / 459 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008582/0.3116, allocations: 412 kB / 459.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.3132, allocations: 0.6947 MB / 460.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001477/0.3146, allocations: 1.161 MB / 461.3 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002957/0.3176, allocations: 1.843 MB / 463.1 MB, free: 7.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007124/0.3247, allocations: 5.411 MB / 468.5 MB, free: 2.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.3247, allocations: 3.984 kB / 468.6 MB, free: 2.086 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3247, allocations: 0 / 468.6 MB, free: 2.086 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001284/0.3248, allocations: 0 / 468.6 MB, free: 2.086 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: 701 * Number of variables: 701 Notification: Performance of Generate backend data structure: time 0.009824/0.3347, allocations: 3.738 MB / 472.3 MB, free: 14.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.3347, allocations: 12.03 kB / 472.3 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006735/0.3354, allocations: 384.1 kB / 472.7 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001887/0.3373, allocations: 498.5 kB / 473.2 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004285/0.3416, allocations: 1.906 MB / 475.1 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/0.3418, allocations: 201.4 kB / 475.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006296/0.3424, allocations: 275.9 kB / 475.5 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007677/0.3501, allocations: 3.517 MB / 479.1 MB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-05/0.3502, allocations: 11.92 kB / 479.1 MB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002903/0.3504, allocations: 116 kB / 479.2 MB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001643/0.3506, allocations: 121.3 kB / 479.3 MB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006216/0.3568, allocations: 2.972 MB / 482.3 MB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02055/0.3774, allocations: 10.82 MB / 493.1 MB, free: 9.008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002764/0.3801, allocations: 1.498 MB / 494.6 MB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002103/0.3822, allocations: 1.105 MB / 495.7 MB, free: 6.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000279/0.3825, allocations: 57.27 kB / 495.8 MB, free: 6.359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.972e-05/0.3826, allocations: 47.88 kB / 495.8 MB, free: 6.301 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 4.399e-06/0.3826, allocations: 0 / 495.8 MB, free: 6.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.0177/0.4003, allocations: 7.104 MB / 0.4911 GB, free: 15.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.4003, allocations: 64.72 kB / 0.4912 GB, free: 15.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003489/0.4038, allocations: 1.996 MB / 0.4931 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000242/0.4041, allocations: 45.7 kB / 0.4932 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001179/0.4052, allocations: 1.346 MB / 0.4945 GB, free: 11.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005809/0.4058, allocations: 0.5307 MB / 0.495 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005783/0.4064, allocations: 331.5 kB / 0.4953 GB, free: 10.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4065, allocations: 309.1 kB / 0.4956 GB, free: 10.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.4082, allocations: 0.8823 MB / 0.4965 GB, free: 9.598 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001971/0.4101, allocations: 1.376 MB / 0.4978 GB, free: 8.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003715/0.4139, allocations: 2.373 MB / 0.5001 GB, free: 5.438 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/0.4139, allocations: 8 kB / 0.5001 GB, free: 5.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005693/0.4196, allocations: 2.911 MB / 0.503 GB, free: 2.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.565e-05/0.4196, allocations: 12 kB / 0.503 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.401e-05/0.4196, allocations: 16 kB / 0.503 GB, free: 2.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/0.4209, allocations: 462.6 kB / 0.5035 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/0.4226, allocations: 423.3 kB / 0.5039 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007549/0.4302, allocations: 5.899 MB / 0.5096 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/0.4321, allocations: 123.8 kB / 0.5097 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002021/0.4323, allocations: 79.98 kB / 0.5098 GB, free: 11.28 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 194 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(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): 2 systems {(3,16,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001744/0.4341, allocations: 0.8525 MB / 0.5106 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000603/0.4347, allocations: 226.5 kB / 0.5109 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004948/0.4396, allocations: 2.508 MB / 0.5133 GB, free: 7.656 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-05/0.4397, allocations: 16 kB / 0.5133 GB, free: 7.641 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.4397, allocations: 4 kB / 0.5133 GB, free: 7.637 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.4397, allocations: 7.969 kB / 0.5133 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/0.4508, allocations: 5.515 MB / 0.5187 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/0.4508, allocations: 4 kB / 0.5187 GB, free: 1.988 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/0.4521, allocations: 275.6 kB / 0.519 GB, free: 1.719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001492/0.4536, allocations: 0.4973 MB / 0.5195 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001711/0.4537, allocations: 43.97 kB / 0.5195 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009213/0.463, allocations: 7.368 MB / 0.5267 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.355e-06/0.463, allocations: 4.234 kB / 0.5267 GB, free: 9.457 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006869/0.4698, allocations: 3.761 MB / 0.5304 GB, free: 5.629 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/0.4712, allocations: 422.3 kB / 0.5308 GB, free: 5.215 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005262/0.4717, allocations: 32 kB / 0.5308 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001475/0.4732, allocations: 95.88 kB / 0.5309 GB, free: 5.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000363/0.4736, allocations: 133 kB / 0.531 GB, free: 4.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.4737, allocations: 43.98 kB / 0.5311 GB, free: 4.918 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002684/0.4764, allocations: 1.368 MB / 0.5324 GB, free: 3.527 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4764, allocations: 0 / 0.5324 GB, free: 3.527 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002545/0.4789, allocations: 0.5858 MB / 0.533 GB, free: 2.941 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 7 (smee.inertiaRotor.w,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],mechanicalMultiSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 120 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,16,100.0%), (1,6,100.0%), (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.2182/0.6972, allocations: 4.429 MB / 0.5373 GB, free: 100.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004373/0.7016, allocations: 2.444 MB / 0.5397 GB, free: 99.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.7016, allocations: 0 / 0.5397 GB, free: 99.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002478/0.704, allocations: 1.551 MB / 0.5412 GB, free: 98.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/0.7066, allocations: 496.3 kB / 0.5417 GB, free: 98.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02849/0.7351, allocations: 21.67 MB / 0.5629 GB, free: 83.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/0.7365, allocations: 2.136 MB / 0.5649 GB, free: 81.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001363/0.7378, allocations: 476.9 kB / 0.5654 GB, free: 81.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/0.7389, allocations: 1.062 MB / 0.5664 GB, free: 80.16 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7389, allocations: 4 kB / 0.5664 GB, free: 80.16 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09368/0.8326, allocations: 55.17 MB / 0.6203 GB, free: 25.44 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.66/15.49, allocations: 0 / 0.6203 GB, free: 25.44 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.csv --start-time 0 --stop-time 3 --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_SMEE_DOL.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.147397678811103] Failed to read output from testmodel.py, exit status != 0: ['time', 'smee.is[1]', 'smee.is[2]', 'smee.idq_dr[1]', 'smee.idq_rr[2]', 'smee.idq_sr[1]', 'smee.idq_sr[2]', 'smee.inertiaRotor.phi', 'smee.inertiaRotor.w', 'smee.lesigma.i'] 15.611522241029888 15.620935088 15.293689645 Calling exit ...