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.001623/0.001623, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001961/0.001961, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.414/1.414, allocations: 230.4 MB / 254.7 MB, free: 14.99 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.002026/0.002026, allocations: 67.83 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1089, allocations: 53.32 MB / 426.9 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.2168/0.3257, allocations: 9.16 MB / 436 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004962/0.3306, allocations: 3.186 MB / 439.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.3318, allocations: 44.12 kB / 439.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00173/0.3335, allocations: 0.718 MB / 440 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.3356, allocations: 0.7498 MB / 440.7 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007512/0.3363, allocations: 323.7 kB / 441.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002503/0.3388, allocations: 2.141 MB / 443.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.3401, allocations: 1.026 MB / 444.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/0.3417, allocations: 0.9345 MB / 445.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.3437, allocations: 1.174 MB / 446.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004381/0.3441, allocations: 232 kB / 446.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009111/0.345, allocations: 331.5 kB / 446.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007009/0.3457, allocations: 0.6855 MB / 447.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00121/0.3469, allocations: 1.101 MB / 448.7 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004255/0.3512, allocations: 3.152 MB / 451.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3512, allocations: 2.141 kB / 451.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3512, allocations: 0 / 451.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001012/0.3513, allocations: 0 / 451.8 MB, free: 15.37 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.005819/0.3571, allocations: 2.354 MB / 454.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3571, allocations: 13.09 kB / 454.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003662/0.3575, allocations: 233.3 kB / 454.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007606/0.3583, allocations: 241.4 kB / 454.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002566/0.3608, allocations: 1.24 MB / 455.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-05/0.3609, allocations: 121.1 kB / 456 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002819/0.3612, allocations: 161.5 kB / 456.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003725/0.3649, allocations: 2.029 MB / 458.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.605e-05/0.365, allocations: 14.16 kB / 458.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001538/0.3651, allocations: 61.97 kB / 458.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.991e-05/0.3652, allocations: 77.39 kB / 458.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003071/0.3683, allocations: 1.676 MB / 460 MB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/0.3801, allocations: 7.058 MB / 467.1 MB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009359/0.381, allocations: 456.2 kB / 467.5 MB, free: 4.727 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000452/0.3815, allocations: 260.7 kB / 467.8 MB, free: 4.605 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002553/0.3817, allocations: 119.4 kB / 467.9 MB, free: 4.496 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.3818, allocations: 42.25 kB / 467.9 MB, free: 4.449 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.345e-06/0.3818, allocations: 0 / 467.9 MB, free: 4.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.007531/0.3893, allocations: 3.059 MB / 471 MB, free: 2.676 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.3894, allocations: 58.56 kB / 471.1 MB, free: 2.613 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002493/0.3918, allocations: 1.629 MB / 472.7 MB, free: 1.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.156e-05/0.3919, allocations: 40.45 kB / 472.7 MB, free: 1.688 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008669/0.3928, allocations: 1.066 MB / 473.8 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/0.393, allocations: 248.8 kB / 474 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004274/0.3935, allocations: 322.9 kB / 474.4 MB, free: 340 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.3936, allocations: 302.5 kB / 474.7 MB, free: 36 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009142/0.3945, allocations: 0.5222 MB / 475.2 MB, free: 15.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001586/0.3961, allocations: 1.461 MB / 476.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002788/0.3989, allocations: 2.134 MB / 478.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.625e-05/0.3989, allocations: 8 kB / 478.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003948/0.4028, allocations: 2.165 MB / 480.9 MB, free: 9.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.4029, allocations: 20 kB / 481 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.372e-05/0.4029, allocations: 35.94 kB / 481 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005835/0.4035, allocations: 239.1 kB / 481.2 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.4047, allocations: 395.3 kB / 481.6 MB, free: 8.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.4067, allocations: 1.848 MB / 483.5 MB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.4084, allocations: 143.7 kB / 483.6 MB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/0.4086, allocations: 96 kB / 483.7 MB, free: 6.492 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.001075/0.4096, allocations: 0.5866 MB / 484.3 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003923/0.41, allocations: 163 kB / 484.4 MB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002239/0.4123, allocations: 1.09 MB / 485.5 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.4123, allocations: 8.812 kB / 485.5 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4123, allocations: 0 / 485.5 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.4123, allocations: 3.984 kB / 485.5 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00542/0.4177, allocations: 2.758 MB / 488.3 MB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.4177, allocations: 0 / 488.3 MB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005182/0.4182, allocations: 127.2 kB / 488.4 MB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004443/0.4187, allocations: 167.5 kB / 488.6 MB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.276e-05/0.4187, allocations: 12 kB / 488.6 MB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/0.4207, allocations: 1.785 MB / 490.4 MB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.4207, allocations: 3.938 kB / 490.4 MB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002867/0.4235, allocations: 1.636 MB / 492 MB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009623/0.4245, allocations: 304 kB / 492.3 MB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.4247, allocations: 16.06 kB / 492.3 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006606/0.4253, allocations: 53.16 kB / 492.4 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/0.4255, allocations: 52.38 kB / 492.4 MB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/0.4255, allocations: 19.98 kB / 492.5 MB, free: 13.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002022/0.4275, allocations: 1.079 MB / 493.5 MB, free: 12.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4275, allocations: 3.938 kB / 493.5 MB, free: 12.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002007/0.4296, allocations: 368 kB / 493.9 MB, free: 11.96 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.003646/0.4332, allocations: 2.248 MB / 496.2 MB, free: 9.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003015/0.4362, allocations: 1.568 MB / 497.7 MB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4362, allocations: 0 / 497.7 MB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001188/0.4374, allocations: 0.7325 MB / 498.5 MB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/0.4395, allocations: 408.5 kB / 498.9 MB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02417/0.4637, allocations: 14.99 MB / 0.5018 GB, free: 6.781 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001674/0.4654, allocations: 1.463 MB / 0.5032 GB, free: 5.285 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001203/0.4666, allocations: 358.9 kB / 0.5036 GB, free: 4.934 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009537/0.4675, allocations: 0.636 MB / 0.5042 GB, free: 4.301 MB / 414.1 MB Notification: Performance of SimCode: time 1.332e-06/0.4675, allocations: 0 / 0.5042 GB, free: 4.301 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08662/0.5541, allocations: 35.79 MB / 0.5391 GB, free: 0.918 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.34, allocations: 3.938 kB / 0.5391 GB, free: 0.9141 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_SynchronousMachines_SMPM_NoLoad_fmu --startTime=0 --stopTime=0.32 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.699656168930233] Failed to read output from testmodel.py, exit status != 0: ['time', 'toPolar.y[1]', 'toPolar.y[2]', 'hallSensor.y'] 13.438989444170147 13.452702127 13.098409145 Calling exit ...