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.001817/0.001817, allocations: 117.2 kB / 18.45 MB, free: 4.613 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.002221/0.002221, allocations: 209.7 kB / 21.41 MB, free: 1.66 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.451/1.451, allocations: 227.7 MB / 251.9 MB, free: 15.87 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.001922/0.001922, allocations: 71.83 kB / 365.2 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1089, allocations: 50.54 MB / 415.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01463/0.1236, allocations: 11.85 MB / 427.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008427/0.132, allocations: 3.982 MB / 431.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00205/0.1342, allocations: 63.75 kB / 431.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002583/0.1368, allocations: 0.8617 MB / 432.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003626/0.1404, allocations: 0.9861 MB / 433.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001542/0.142, allocations: 0.5265 MB / 434 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005038/0.147, allocations: 3.46 MB / 437.5 MB, free: 7.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003654/0.1507, allocations: 2.712 MB / 440.2 MB, free: 5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002726/0.1535, allocations: 1.55 MB / 441.8 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003303/0.1568, allocations: 1.938 MB / 443.7 MB, free: 1.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008735/0.1577, allocations: 408 kB / 444.1 MB, free: 1.102 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.1593, allocations: 0.6284 MB / 444.7 MB, free: 484 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2151/0.3744, allocations: 1.143 MB / 445.9 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002834/0.3772, allocations: 1.847 MB / 447.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007101/0.3844, allocations: 5.4 MB / 453.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.3844, allocations: 0 / 453.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.759e-06/0.3844, allocations: 0 / 453.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002091/0.3846, allocations: 3.938 kB / 453.1 MB, free: 11.5 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.0111/0.3957, allocations: 3.813 MB / 456.9 MB, free: 9.914 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.3958, allocations: 11.09 kB / 457 MB, free: 9.914 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007658/0.3966, allocations: 386.2 kB / 457.3 MB, free: 9.863 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002044/0.3986, allocations: 484.7 kB / 457.8 MB, free: 9.676 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00361/0.4023, allocations: 2.006 MB / 459.8 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.4024, allocations: 204.4 kB / 460 MB, free: 9.117 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004035/0.4028, allocations: 263.8 kB / 460.3 MB, free: 9.117 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006086/0.4089, allocations: 3.525 MB / 463.8 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.139e-05/0.409, allocations: 7.641 kB / 463.8 MB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002798/0.4093, allocations: 114.1 kB / 463.9 MB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/0.4095, allocations: 123.7 kB / 464 MB, free: 8.852 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005041/0.4145, allocations: 2.967 MB / 467 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01631/0.4309, allocations: 10.99 MB / 478 MB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002575/0.4335, allocations: 2.272 MB / 480.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002141/0.4356, allocations: 1.178 MB / 481.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003543/0.436, allocations: 204.2 kB / 481.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/0.4361, allocations: 45.66 kB / 481.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=131): time 9.418e-06/0.4361, allocations: 0.7031 kB / 481.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=148): time 0.01717/0.4533, allocations: 7.576 MB / 489.3 MB, free: 10.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.4534, allocations: 68.09 kB / 489.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003125/0.4565, allocations: 1.981 MB / 491.3 MB, free: 9.734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002013/0.4567, allocations: 56.77 kB / 491.4 MB, free: 9.684 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.4578, allocations: 1.348 MB / 492.7 MB, free: 8.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004939/0.4583, allocations: 0.5271 MB / 493.2 MB, free: 8.043 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005182/0.4588, allocations: 333.7 kB / 493.6 MB, free: 7.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.459, allocations: 301.1 kB / 493.9 MB, free: 7.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/0.4605, allocations: 0.891 MB / 494.7 MB, free: 6.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001958/0.4625, allocations: 1.371 MB / 496.1 MB, free: 5.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003637/0.4661, allocations: 2.377 MB / 498.5 MB, free: 2.867 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.4661, allocations: 11.47 kB / 498.5 MB, free: 2.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005789/0.4719, allocations: 2.989 MB / 0.4897 GB, free: 15.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.472, allocations: 11.94 kB / 0.4898 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-05/0.472, allocations: 16 kB / 0.4898 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.4733, allocations: 466.3 kB / 0.4902 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.4749, allocations: 428.3 kB / 0.4906 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007413/0.4824, allocations: 6.106 MB / 0.4966 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/0.4846, allocations: 126.6 kB / 0.4967 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002758/0.4849, allocations: 79.98 kB / 0.4968 GB, free: 8.512 MB / 398.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.001979/0.4869, allocations: 0.8476 MB / 0.4976 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007104/0.4876, allocations: 222.6 kB / 0.4978 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005281/0.4929, allocations: 2.585 MB / 0.5003 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-05/0.493, allocations: 19.98 kB / 0.5004 GB, free: 4.832 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/0.493, allocations: 8 kB / 0.5004 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/0.493, allocations: 7.969 kB / 0.5004 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/0.5056, allocations: 5.63 MB / 0.5059 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/0.5056, allocations: 4 kB / 0.5059 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.5069, allocations: 281.7 kB / 0.5061 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001556/0.5085, allocations: 0.4925 MB / 0.5066 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/0.5086, allocations: 40.86 kB / 0.5067 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009712/0.5184, allocations: 7.695 MB / 0.5142 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/0.5184, allocations: 4 kB / 0.5142 GB, free: 6.258 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007694/0.5261, allocations: 3.85 MB / 0.5179 GB, free: 2.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001595/0.5277, allocations: 491.5 kB / 0.5184 GB, free: 1.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008188/0.5285, allocations: 39.98 kB / 0.5185 GB, free: 1.801 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/0.5302, allocations: 95.83 kB / 0.5185 GB, free: 1.707 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000371/0.5306, allocations: 123.6 kB / 0.5187 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/0.5308, allocations: 47.98 kB / 0.5187 GB, free: 1.547 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003015/0.5338, allocations: 1.364 MB / 0.52 GB, free: 164 kB / 414.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5338, allocations: 0 / 0.52 GB, free: 164 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.002981/0.5368, allocations: 0.5859 MB / 0.5206 GB, free: 15.57 MB / 430.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.00795/0.5448, allocations: 4.524 MB / 0.525 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00523/0.55, allocations: 2.611 MB / 0.5276 GB, free: 8.398 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.988e-06/0.5501, allocations: 4 kB / 0.5276 GB, free: 8.395 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003081/0.5532, allocations: 1.606 MB / 0.5292 GB, free: 6.781 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003876/0.5571, allocations: 0.4933 MB / 0.5296 GB, free: 6.312 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04384/0.6009, allocations: 21.82 MB / 0.5509 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002216/0.6032, allocations: 2.136 MB / 0.553 GB, free: 13.75 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001653/0.6049, allocations: 473 kB / 0.5535 GB, free: 13.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001724/0.6066, allocations: 1.066 MB / 0.5545 GB, free: 12.22 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6066, allocations: 0 / 0.5545 GB, free: 12.22 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1242/0.7308, allocations: 53.4 MB / 0.6067 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/14.8, allocations: 15.61 kB / 0.6067 GB, free: 7.332 MB / 0.4981 GB " [Timeout remaining time 645] (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: 17.47695774398744] 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'] 14.911180274095386 14.936054758 14.547692294 Calling exit ...