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_CurrentSource.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.001853/0.001853, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.002344/0.002344, allocations: 212.1 kB / 24.48 MB, free: 4.191 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.399/1.399, allocations: 230.4 MB / 258.1 MB, free: 8.156 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: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|multiSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|smpm.is.1.|smpm.is.2.|inertiaLoad.w|multiSensor.flange_a.phi",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource") [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.001928/0.001928, allocations: 68.06 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2046, allocations: 53.32 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource): time 0.01344/0.218, allocations: 11.06 MB / 443.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00632/0.2243, allocations: 3.688 MB / 446.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007522/0.2251, allocations: 67.75 kB / 446.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.2268, allocations: 0.8851 MB / 447.8 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.2288, allocations: 0.9048 MB / 448.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008811/0.2296, allocations: 475.2 kB / 449.1 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003051/0.2327, allocations: 2.938 MB / 452.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002129/0.2348, allocations: 1.567 MB / 453.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.2364, allocations: 1.386 MB / 455 MB, free: 296 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002258/0.2387, allocations: 1.798 MB / 456.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004708/0.2392, allocations: 376 kB / 457.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007836/0.24, allocations: 483.8 kB / 457.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.241, allocations: 1.087 MB / 458.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001605/0.2426, allocations: 1.68 MB / 460.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004905/0.2475, allocations: 4.908 MB / 465.3 MB, free: 5.941 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2476, allocations: 3.984 kB / 465.3 MB, free: 5.938 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2476, allocations: 0 / 465.3 MB, free: 5.938 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.685e-05/0.2476, allocations: 0 / 465.3 MB, free: 5.938 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: 659 * Number of variables: 659 Notification: Performance of Generate backend data structure: time 0.006293/0.2539, allocations: 3.481 MB / 468.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2539, allocations: 12.02 kB / 468.8 MB, free: 2.375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009093/0.2548, allocations: 362.8 kB / 469.2 MB, free: 2.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003305/0.2581, allocations: 1.836 MB / 471 MB, free: 132 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.2583, allocations: 185.5 kB / 471.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003775/0.2587, allocations: 259.9 kB / 471.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005168/0.2639, allocations: 3.279 MB / 474.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.444e-05/0.2639, allocations: 11.98 kB / 474.8 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002382/0.2642, allocations: 104 kB / 474.9 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001386/0.2643, allocations: 128.9 kB / 475 MB, free: 12.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004614/0.2689, allocations: 2.744 MB / 477.7 MB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01511/0.284, allocations: 10.43 MB / 488.1 MB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.2859, allocations: 1.299 MB / 489.4 MB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.2871, allocations: 0.7032 MB / 490.2 MB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/0.2874, allocations: 204.2 kB / 490.4 MB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.2875, allocations: 43.56 kB / 490.4 MB, free: 12.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 2.545e-06/0.2875, allocations: 0 / 490.4 MB, free: 12.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=123): time 0.01471/0.3022, allocations: 6.931 MB / 497.3 MB, free: 5.148 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.3022, allocations: 68.41 kB / 497.4 MB, free: 5.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002512/0.3047, allocations: 1.794 MB / 499.2 MB, free: 3.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.196e-05/0.3048, allocations: 45.7 kB / 499.2 MB, free: 3.227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001073/0.3059, allocations: 1.314 MB / 0.4888 GB, free: 1.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003936/0.3063, allocations: 452.2 kB / 0.4892 GB, free: 1.453 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004823/0.3068, allocations: 291.5 kB / 0.4895 GB, free: 1.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3069, allocations: 305.1 kB / 0.4898 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/0.3082, allocations: 0.7769 MB / 0.4906 GB, free: 84 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001725/0.3099, allocations: 1.296 MB / 0.4918 GB, free: 14.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003144/0.313, allocations: 2.21 MB / 0.494 GB, free: 12.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/0.3131, allocations: 7.938 kB / 0.494 GB, free: 12.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004078/0.3171, allocations: 2.487 MB / 0.4964 GB, free: 9.605 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.3172, allocations: 15.98 kB / 0.4964 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.3172, allocations: 16 kB / 0.4965 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006204/0.3178, allocations: 235.2 kB / 0.4967 GB, free: 9.332 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/0.3193, allocations: 419.4 kB / 0.4971 GB, free: 8.922 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00297/0.3223, allocations: 3.247 MB / 0.5003 GB, free: 5.387 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.3235, allocations: 135.7 kB / 0.5004 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.3236, allocations: 68 kB / 0.5005 GB, free: 5.188 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (198): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 2 systems {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001265/0.3248, allocations: 0.8251 MB / 0.5013 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003166/0.3252, allocations: 190.8 kB / 0.5014 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003444/0.3286, allocations: 2.046 MB / 0.5034 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.3286, allocations: 7.969 kB / 0.5034 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3286, allocations: 0 / 0.5034 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009542/0.3296, allocations: 435.7 kB / 0.5039 GB, free: 1.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.3298, allocations: 27.94 kB / 0.5039 GB, free: 1.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009181/0.3307, allocations: 99.86 kB / 0.504 GB, free: 1.512 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.3309, allocations: 80.88 kB / 0.5041 GB, free: 1.434 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004055/0.3349, allocations: 2.055 MB / 0.5061 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004436/0.3394, allocations: 3.044 MB / 0.509 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001121/0.3405, allocations: 0.7495 MB / 0.5098 GB, free: 11.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001867/0.3424, allocations: 1.228 MB / 0.511 GB, free: 10.33 MB / 430.1 MB Notification: Performance of Backend: time 2.81e-07/0.3424, allocations: 0 / 0.511 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003346/0.3457, allocations: 1.731 MB / 0.5127 GB, free: 8.527 MB / 430.1 MB Notification: Performance of SimCode: time 0.007917/0.3536, allocations: 5.151 MB / 0.5177 GB, free: 3.324 MB / 430.1 MB Notification: Performance of Templates: time 0.2141/0.5678, allocations: 30.59 MB / 0.5476 GB, free: 95.68 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_CurrentSource.pipe 2>&1) [Timeout 480] Could not SIGINT process: 3456260. Could not SIGINT process: 3456261. Could not SIGINT process: 3456264. Could not SIGINT process: 3455875. [Calling os._exit(0), Time elapsed: 485.1084486329928] Failed to read output from testmodel.py, exit status != 0: ['time', 'smpm.is[1]', 'smpm.is[2]', 'inertiaLoad.w', 'multiSensor.flange_a.phi'] 0.5751700913533568 0.583441385 0.333868947 Calling exit ...