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.001369/0.001369, 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.001752/0.001752, 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.477/1.477, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.002125/0.002125, allocations: 68.77 kB / 378.6 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2671, allocations: 53.37 MB / 431.9 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01177/0.2789, allocations: 9.21 MB / 441.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006142/0.285, allocations: 3.197 MB / 444.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.2862, allocations: 51.69 kB / 444.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.2881, allocations: 0.7302 MB / 445.1 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002259/0.2903, allocations: 0.7613 MB / 445.9 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008271/0.2912, allocations: 327.4 kB / 446.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002694/0.2939, allocations: 2.14 MB / 448.3 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.2951, allocations: 0.8325 MB / 449.2 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.2966, allocations: 0.9577 MB / 450.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002273/0.2989, allocations: 1.168 MB / 451.3 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004133/0.2993, allocations: 236 kB / 451.5 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008835/0.3002, allocations: 335.8 kB / 451.8 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007744/0.3009, allocations: 0.6855 MB / 452.5 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001367/0.3023, allocations: 1.097 MB / 453.6 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003914/0.3062, allocations: 3.15 MB / 456.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3062, allocations: 4 kB / 456.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3062, allocations: 0 / 456.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.599e-05/0.3063, allocations: 0 / 456.8 MB, free: 13.87 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.007121/0.3134, allocations: 2.285 MB / 459.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.3135, allocations: 8.031 kB / 459.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004877/0.314, allocations: 232.4 kB / 459.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.3151, allocations: 251.5 kB / 459.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003618/0.3187, allocations: 1.164 MB / 460.7 MB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.3189, allocations: 123.2 kB / 460.8 MB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004169/0.3193, allocations: 160 kB / 461 MB, free: 9.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005879/0.3251, allocations: 2.025 MB / 463 MB, free: 7.492 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.119e-05/0.3252, allocations: 11.95 kB / 463 MB, free: 7.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002185/0.3254, allocations: 60 kB / 463.1 MB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001633/0.3256, allocations: 86.8 kB / 463.2 MB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004915/0.3305, allocations: 1.678 MB / 464.8 MB, free: 5.652 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0163/0.3468, allocations: 6.918 MB / 471.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009388/0.3478, allocations: 453.8 kB / 472.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004773/0.3482, allocations: 264.8 kB / 472.5 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002153/0.3485, allocations: 48.33 kB / 472.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.3485, allocations: 35 kB / 472.5 MB, free: 13.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.755e-06/0.3485, allocations: 4 kB / 472.6 MB, free: 13.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.007192/0.3557, allocations: 2.915 MB / 475.5 MB, free: 10.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.3557, allocations: 56.06 kB / 475.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002527/0.3583, allocations: 1.632 MB / 477.2 MB, free: 8.941 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.323e-05/0.3583, allocations: 37.7 kB / 477.2 MB, free: 8.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008485/0.3592, allocations: 1.064 MB / 478.3 MB, free: 7.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.3594, allocations: 250 kB / 478.5 MB, free: 7.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004427/0.3598, allocations: 327.3 kB / 478.8 MB, free: 7.254 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.36, allocations: 301.1 kB / 479.1 MB, free: 6.957 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009264/0.3609, allocations: 0.5231 MB / 479.6 MB, free: 6.434 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.3626, allocations: 1.454 MB / 481.1 MB, free: 4.523 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002917/0.3655, allocations: 2.136 MB / 483.2 MB, free: 1.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-05/0.3655, allocations: 12 kB / 483.2 MB, free: 1.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.004023/0.3696, allocations: 2.163 MB / 485.4 MB, free: 15.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.3696, allocations: 20 kB / 485.4 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.708e-05/0.3696, allocations: 32 kB / 485.5 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000616/0.3703, allocations: 230.9 kB / 485.7 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.3715, allocations: 403.2 kB / 486.1 MB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00189/0.3733, allocations: 1.732 MB / 487.8 MB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.3747, allocations: 143.7 kB / 487.9 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.3748, allocations: 96 kB / 488 MB, free: 12.97 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.001017/0.3758, allocations: 0.5954 MB / 488.6 MB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003118/0.3761, allocations: 159 kB / 488.8 MB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/0.3783, allocations: 1.093 MB / 489.9 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.3783, allocations: 11.98 kB / 489.9 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3783, allocations: 0 / 489.9 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.3783, allocations: 3.984 kB / 489.9 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00494/0.3832, allocations: 2.723 MB / 492.6 MB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3832, allocations: 4.156 kB / 492.6 MB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005156/0.3837, allocations: 123.8 kB / 492.7 MB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000444/0.3842, allocations: 162.4 kB / 492.9 MB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.144e-05/0.3842, allocations: 12 kB / 492.9 MB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.386, allocations: 1.694 MB / 494.6 MB, free: 6.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.386, allocations: 3.938 kB / 494.6 MB, free: 6.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002816/0.3888, allocations: 1.643 MB / 496.3 MB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008086/0.3896, allocations: 230.9 kB / 496.5 MB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/0.3898, allocations: 12 kB / 496.5 MB, free: 4.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006396/0.3904, allocations: 56 kB / 496.5 MB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.3906, allocations: 52.34 kB / 496.6 MB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.195e-05/0.3906, allocations: 16 kB / 496.6 MB, free: 4.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001705/0.3923, allocations: 1.086 MB / 497.7 MB, free: 3.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3923, allocations: 0 / 497.7 MB, free: 3.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001484/0.3938, allocations: 363.9 kB / 498.1 MB, free: 2.664 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.003356/0.3971, allocations: 2.261 MB / 0.4886 GB, free: 364 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002884/0.4, allocations: 1.409 MB / 0.49 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.4, allocations: 4 kB / 0.49 GB, free: 14.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001089/0.4011, allocations: 0.5814 MB / 0.4905 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001955/0.4031, allocations: 404 kB / 0.4909 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0243/0.4274, allocations: 14.99 MB / 0.5056 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/0.4286, allocations: 1.469 MB / 0.507 GB, free: 12.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001035/0.4297, allocations: 350 kB / 0.5073 GB, free: 11.99 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008645/0.4305, allocations: 0.6476 MB / 0.508 GB, free: 11.34 MB / 430.1 MB Notification: Performance of SimCode: time 1.193e-06/0.4305, allocations: 0 / 0.508 GB, free: 11.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2857/0.7163, allocations: 36.97 MB / 0.5441 GB, free: 103.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.71, allocations: 4.438 kB / 0.5441 GB, free: 103.6 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 & /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: 16.137666756287217] Failed to read output from testmodel.py, exit status != 0: ['time', 'toSpacePhasor.y[1]', 'toSpacePhasor.y[2]', 'hallSensor.y'] 13.829579771030694 13.841787932 13.532531662 Calling exit ...