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.001549/0.001549, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001724/0.001724, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.466/1.466, allocations: 230.4 MB / 254.7 MB, free: 14.8 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.001912/0.001912, allocations: 71.83 kB / 373.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1116, allocations: 53.32 MB / 426.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.2352/0.3468, allocations: 11.89 MB / 438.8 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007826/0.3547, allocations: 3.998 MB / 442.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002617/0.3573, allocations: 64.62 kB / 442.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002877/0.3602, allocations: 0.8864 MB / 443.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004214/0.3644, allocations: 1.021 MB / 444.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001785/0.3662, allocations: 0.5281 MB / 445.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0057/0.3719, allocations: 3.463 MB / 448.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00347/0.3753, allocations: 1.964 MB / 450.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003686/0.379, allocations: 1.547 MB / 452.3 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004612/0.3836, allocations: 1.988 MB / 454.3 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001319/0.3849, allocations: 408.4 kB / 454.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002425/0.3874, allocations: 0.6482 MB / 455.3 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001771/0.3891, allocations: 1.155 MB / 456.5 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004322/0.3935, allocations: 1.845 MB / 458.3 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009357/0.4028, allocations: 5.41 MB / 463.7 MB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.4028, allocations: 1.156 kB / 463.7 MB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4028, allocations: 0 / 463.7 MB, free: 7.668 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000205/0.403, allocations: 0 / 463.7 MB, free: 7.668 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.01235/0.4154, allocations: 3.816 MB / 467.5 MB, free: 5.047 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.4154, allocations: 14.17 kB / 467.5 MB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008601/0.4163, allocations: 389.5 kB / 467.9 MB, free: 4.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/0.4184, allocations: 493.4 kB / 468.4 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00512/0.4235, allocations: 1.992 MB / 470.4 MB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002159/0.4238, allocations: 207.5 kB / 470.6 MB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000588/0.4243, allocations: 263.5 kB / 470.9 MB, free: 2.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007067/0.4314, allocations: 3.522 MB / 474.4 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.349e-05/0.4315, allocations: 6.688 kB / 474.4 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002721/0.4318, allocations: 118.4 kB / 474.5 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001681/0.4319, allocations: 121.8 kB / 474.6 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005756/0.4377, allocations: 2.967 MB / 477.6 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02131/0.459, allocations: 11 MB / 488.6 MB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003347/0.4623, allocations: 2.182 MB / 490.8 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002174/0.4645, allocations: 1.102 MB / 491.9 MB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003541/0.4649, allocations: 211.5 kB / 492.1 MB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.972e-05/0.4649, allocations: 43.88 kB / 492.1 MB, free: 15.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 3.758e-06/0.4649, allocations: 0 / 492.1 MB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.01746/0.4824, allocations: 7.556 MB / 499.7 MB, free: 7.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.4825, allocations: 72.7 kB / 499.7 MB, free: 7.461 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003281/0.4857, allocations: 1.988 MB / 0.49 GB, free: 5.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001571/0.4859, allocations: 53.7 kB / 0.49 GB, free: 5.371 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.487, allocations: 1.347 MB / 0.4913 GB, free: 4.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005335/0.4876, allocations: 0.5268 MB / 0.4919 GB, free: 3.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005591/0.4881, allocations: 327.5 kB / 0.4922 GB, free: 3.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4883, allocations: 305.1 kB / 0.4925 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.4898, allocations: 0.8862 MB / 0.4933 GB, free: 1.965 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001993/0.4918, allocations: 1.369 MB / 0.4947 GB, free: 396 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003723/0.4955, allocations: 2.385 MB / 0.497 GB, free: 13.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.4956, allocations: 4 kB / 0.497 GB, free: 13.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005865/0.5014, allocations: 2.998 MB / 0.4999 GB, free: 10.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/0.5015, allocations: 8 kB / 0.4999 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.044e-05/0.5015, allocations: 16 kB / 0.4999 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/0.5028, allocations: 464.5 kB / 0.5004 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/0.5044, allocations: 427.3 kB / 0.5008 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007864/0.5123, allocations: 6.101 MB / 0.5068 GB, free: 3.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.5146, allocations: 119.8 kB / 0.5069 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003753/0.515, allocations: 76 kB / 0.5069 GB, free: 3.293 MB / 414.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.002188/0.5172, allocations: 0.8563 MB / 0.5078 GB, free: 2.426 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008158/0.518, allocations: 226.5 kB / 0.508 GB, free: 2.203 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005328/0.5233, allocations: 2.583 MB / 0.5105 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-05/0.5233, allocations: 16 kB / 0.5105 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/0.5234, allocations: 4 kB / 0.5105 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/0.5234, allocations: 7.969 kB / 0.5105 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/0.5356, allocations: 5.605 MB / 0.516 GB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/0.5357, allocations: 4 kB / 0.516 GB, free: 9.809 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/0.5369, allocations: 283.5 kB / 0.5163 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001492/0.5384, allocations: 0.4983 MB / 0.5168 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/0.5385, allocations: 43.97 kB / 0.5168 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009579/0.5481, allocations: 7.681 MB / 0.5243 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.5481, allocations: 4 kB / 0.5243 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007584/0.5557, allocations: 3.844 MB / 0.5281 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001687/0.5574, allocations: 490.9 kB / 0.5285 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007052/0.5581, allocations: 32 kB / 0.5286 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001653/0.5597, allocations: 99.88 kB / 0.5287 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003355/0.5601, allocations: 117.1 kB / 0.5288 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/0.5602, allocations: 47.98 kB / 0.5288 GB, free: 12.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00286/0.5631, allocations: 1.372 MB / 0.5302 GB, free: 10.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5631, allocations: 0 / 0.5302 GB, free: 10.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002789/0.5659, allocations: 0.5858 MB / 0.5307 GB, free: 10.18 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.00752/0.5734, allocations: 4.5 MB / 0.5351 GB, free: 5.578 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005018/0.5784, allocations: 2.514 MB / 0.5376 GB, free: 3.016 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.5784, allocations: 64 / 0.5376 GB, free: 3.016 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002925/0.5813, allocations: 1.544 MB / 0.5391 GB, free: 1.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003379/0.5847, allocations: 0.4996 MB / 0.5396 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0423/0.627, allocations: 21.81 MB / 0.5609 GB, free: 10.41 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002971/0.63, allocations: 2.136 MB / 0.563 GB, free: 8.246 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001833/0.6318, allocations: 473 kB / 0.5634 GB, free: 7.781 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001888/0.6337, allocations: 1.062 MB / 0.5645 GB, free: 6.719 MB / 478.1 MB Notification: Performance of SimCode: time 8.81e-07/0.6337, allocations: 0 / 0.5645 GB, free: 6.719 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1216/0.7553, allocations: 53.83 MB / 0.617 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/14.87, allocations: 7.922 kB / 0.617 GB, free: 1.352 MB / 0.5137 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMEE_DOL_fmu --startTime=0 --stopTime=3 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.610264214221388] 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.17528751399368 15.185188233 14.779968401 Calling exit ...