Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 215.5 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.415/1.415, allocations: 230.6 MB / 258.3 MB, free: 7.77 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 47.92 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.211, allocations: 53.36 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.013/0.224, allocations: 10.13 MB / 442.5 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005851/0.2299, allocations: 3.71 MB / 446.2 MB, free: 8.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006742/0.2305, allocations: 79.5 kB / 446.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.2323, allocations: 0.8233 MB / 447.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00202/0.2343, allocations: 0.9979 MB / 448.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009341/0.2352, allocations: 0.5227 MB / 448.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003184/0.2384, allocations: 3.229 MB / 451.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001943/0.2403, allocations: 1.473 MB / 453.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001657/0.242, allocations: 1.48 MB / 454.8 MB, free: 128 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002319/0.2443, allocations: 1.868 MB / 456.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005294/0.2449, allocations: 388 kB / 457 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.2459, allocations: 0.6128 MB / 457.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001043/0.2469, allocations: 1.087 MB / 458.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001439/0.2484, allocations: 1.4 MB / 460.1 MB, free: 10.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004908/0.2533, allocations: 5.09 MB / 465.2 MB, free: 5.656 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2533, allocations: 4 kB / 465.2 MB, free: 5.652 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2533, allocations: 0 / 465.2 MB, free: 5.652 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.752e-05/0.2533, allocations: 0 / 465.2 MB, free: 5.652 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: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.006725/0.2601, allocations: 3.507 MB / 468.7 MB, free: 2.094 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2601, allocations: 8.031 kB / 468.7 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/0.2618, allocations: 462.7 kB / 469.2 MB, free: 1.633 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003498/0.2653, allocations: 1.788 MB / 471 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.2654, allocations: 197.1 kB / 471.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003867/0.2658, allocations: 251.8 kB / 471.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005573/0.2714, allocations: 3.38 MB / 474.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.046e-05/0.2714, allocations: 4 kB / 474.8 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002489/0.2717, allocations: 108 kB / 474.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001418/0.2718, allocations: 116.9 kB / 475 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004818/0.2767, allocations: 2.697 MB / 477.7 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01496/0.2916, allocations: 8.911 MB / 486.6 MB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003206/0.2948, allocations: 1.245 MB / 487.9 MB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00315/0.298, allocations: 0.9757 MB / 488.9 MB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003283/0.2983, allocations: 48.97 kB / 488.9 MB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.597e-05/0.2984, allocations: 51.56 kB / 489 MB, free: 13.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 5.23e-06/0.2984, allocations: 0 / 489 MB, free: 13.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.03014/0.3285, allocations: 7.064 MB / 496 MB, free: 6.289 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.3286, allocations: 64.72 kB / 496.1 MB, free: 6.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004145/0.3327, allocations: 1.716 MB / 497.8 MB, free: 4.492 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001598/0.3329, allocations: 49.7 kB / 497.8 MB, free: 4.438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001611/0.3345, allocations: 1.29 MB / 499.1 MB, free: 3.133 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006881/0.3352, allocations: 491.8 kB / 499.6 MB, free: 2.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008455/0.336, allocations: 303.4 kB / 499.9 MB, free: 2.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3362, allocations: 301.1 kB / 0.4885 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002551/0.3388, allocations: 0.8159 MB / 0.4893 GB, free: 1.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003208/0.342, allocations: 1.312 MB / 0.4906 GB, free: 15.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005945/0.3479, allocations: 2.258 MB / 0.4928 GB, free: 13.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.098e-05/0.3479, allocations: 4 kB / 0.4928 GB, free: 13.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.00843/0.3564, allocations: 2.705 MB / 0.4954 GB, free: 10.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.3564, allocations: 12 kB / 0.4954 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.754e-05/0.3564, allocations: 16 kB / 0.4954 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001738/0.3582, allocations: 418.5 kB / 0.4958 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002816/0.361, allocations: 403.3 kB / 0.4962 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007678/0.3687, allocations: 5.491 MB / 0.5016 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.3702, allocations: 127.9 kB / 0.5017 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.3703, allocations: 68 kB / 0.5018 GB, free: 3.777 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (187): * Single equations (assignments): 182 * 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,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001327/0.3717, allocations: 0.7978 MB / 0.5025 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003767/0.3721, allocations: 190.8 kB / 0.5027 GB, free: 2.781 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00455/0.3766, allocations: 2.303 MB / 0.505 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/0.3766, allocations: 7.969 kB / 0.505 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3766, allocations: 0 / 0.505 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009445/0.3776, allocations: 366.5 kB / 0.5053 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002588/0.3778, allocations: 28 kB / 0.5054 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/0.3789, allocations: 111.8 kB / 0.5055 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002804/0.3792, allocations: 109.1 kB / 0.5056 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005365/0.3846, allocations: 2.373 MB / 0.5079 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005164/0.3897, allocations: 3.064 MB / 0.5109 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001492/0.3912, allocations: 0.8221 MB / 0.5117 GB, free: 9.551 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001815/0.3931, allocations: 1.165 MB / 0.5128 GB, free: 8.391 MB / 430.1 MB Notification: Performance of Backend: time 2.71e-07/0.3931, allocations: 0 / 0.5128 GB, free: 8.391 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003955/0.397, allocations: 1.713 MB / 0.5145 GB, free: 6.645 MB / 430.1 MB Notification: Performance of SimCode: time 0.008455/0.4055, allocations: 5.292 MB / 0.5197 GB, free: 1.297 MB / 430.1 MB Notification: Performance of Templates: time 0.2116/0.6171, allocations: 33.81 MB / 0.5527 GB, free: 96.03 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.4119557949961745] Failed to read output from testmodel.py, exit status != 0: ['time', 'constantSpeed.phi', 'smee.is[1]', 'smee.is[2]', 'smee.idq_dr[1]', 'smee.idq_rr[2]', 'smee.idq_sr[1]', 'smee.idq_sr[2]'] 0.6248395799993887 0.633350694 0.37786965499999997 Calling exit ...