Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.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.001267/0.001267, allocations: 106.8 kB / 21.19 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.001448/0.001448, allocations: 213.3 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.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 7.781 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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="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",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="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",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 47.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2173, allocations: 53.37 MB / 432.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL): time 0.01349/0.2308, allocations: 10.41 MB / 442.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006897/0.2377, allocations: 3.78 MB / 446.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008826/0.2386, allocations: 83.5 kB / 446.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001869/0.2404, allocations: 0.8385 MB / 447.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002262/0.2427, allocations: 1.045 MB / 448.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.2437, allocations: 0.5383 MB / 449 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003882/0.2476, allocations: 3.463 MB / 452.5 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002192/0.2498, allocations: 1.541 MB / 454 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/0.2516, allocations: 1.589 MB / 455.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002595/0.2542, allocations: 1.985 MB / 457.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005981/0.2548, allocations: 412 kB / 458 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.2559, allocations: 0.6401 MB / 458.7 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001183/0.2571, allocations: 1.161 MB / 459.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00167/0.2588, allocations: 1.497 MB / 461.3 MB, free: 9.602 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005695/0.2645, allocations: 5.422 MB / 466.7 MB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2645, allocations: 0 / 466.7 MB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2645, allocations: 4 kB / 466.7 MB, free: 4.156 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.657e-05/0.2645, allocations: 0 / 466.7 MB, free: 4.156 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.007316/0.2718, allocations: 3.741 MB / 470.5 MB, free: 372 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.2719, allocations: 12.03 kB / 470.5 MB, free: 360 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/0.2736, allocations: 486.9 kB / 471 MB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003944/0.2776, allocations: 1.914 MB / 472.9 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001862/0.2778, allocations: 201.4 kB / 473.1 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004466/0.2782, allocations: 271.9 kB / 473.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006253/0.2845, allocations: 3.65 MB / 477 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.339e-05/0.2845, allocations: 15.92 kB / 477 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002765/0.2848, allocations: 108 kB / 477.1 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/0.285, allocations: 117.3 kB / 477.2 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005295/0.2903, allocations: 2.96 MB / 480.2 MB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01657/0.3068, allocations: 9.573 MB / 489.8 MB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002627/0.3095, allocations: 1.495 MB / 491.3 MB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002056/0.3115, allocations: 1.098 MB / 492.4 MB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/0.3118, allocations: 53.27 kB / 492.4 MB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.3118, allocations: 47.88 kB / 492.5 MB, free: 9.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=131): time 4.519e-06/0.3118, allocations: 0 / 492.5 MB, free: 9.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=148): time 0.0164/0.3282, allocations: 7.089 MB / 499.6 MB, free: 2.785 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.3283, allocations: 72.72 kB / 499.6 MB, free: 2.703 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002723/0.331, allocations: 1.827 MB / 0.4897 GB, free: 0.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.3311, allocations: 49.7 kB / 0.4897 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.3322, allocations: 1.357 MB / 0.4911 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000493/0.3326, allocations: 0.5268 MB / 0.4916 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005614/0.3332, allocations: 323.5 kB / 0.4919 GB, free: 14.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.3333, allocations: 309.1 kB / 0.4922 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.3349, allocations: 0.8823 MB / 0.4931 GB, free: 13.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001973/0.3369, allocations: 1.376 MB / 0.4944 GB, free: 11.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00362/0.3405, allocations: 2.381 MB / 0.4967 GB, free: 9.234 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/0.3405, allocations: 4 kB / 0.4967 GB, free: 9.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005376/0.3459, allocations: 2.896 MB / 0.4996 GB, free: 6.316 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/0.3459, allocations: 15.92 kB / 0.4996 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.3459, allocations: 16 kB / 0.4996 GB, free: 6.285 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.3471, allocations: 461 kB / 0.5 GB, free: 5.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/0.3489, allocations: 427.3 kB / 0.5004 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007199/0.3561, allocations: 5.791 MB / 0.5061 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.3576, allocations: 123.8 kB / 0.5062 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/0.3578, allocations: 79.98 kB / 0.5063 GB, free: 15.23 MB / 430.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.001467/0.3593, allocations: 0.854 MB / 0.5071 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003856/0.3596, allocations: 206.8 kB / 0.5073 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004871/0.3645, allocations: 2.499 MB / 0.5097 GB, free: 11.63 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.3645, allocations: 11.97 kB / 0.5098 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.3645, allocations: 4 kB / 0.5098 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/0.3656, allocations: 394.5 kB / 0.5101 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002751/0.3659, allocations: 31.94 kB / 0.5102 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/0.367, allocations: 107.9 kB / 0.5103 GB, free: 11.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/0.3673, allocations: 125 kB / 0.5104 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005834/0.3731, allocations: 2.596 MB / 0.5129 GB, free: 8.355 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005405/0.3785, allocations: 3.333 MB / 0.5162 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001505/0.38, allocations: 0.8963 MB / 0.5171 GB, free: 4.113 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001896/0.3819, allocations: 1.239 MB / 0.5183 GB, free: 2.883 MB / 430.1 MB Notification: Performance of Backend: time 2.61e-07/0.3819, allocations: 0 / 0.5183 GB, free: 2.883 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00411/0.386, allocations: 1.837 MB / 0.5201 GB, free: 1.012 MB / 430.1 MB Notification: Performance of SimCode: time 0.009001/0.395, allocations: 5.796 MB / 0.5257 GB, free: 11.16 MB / 446.1 MB Notification: Performance of Templates: time 0.2164/0.6115, allocations: 37.23 MB / 0.5621 GB, free: 85.96 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_DOL.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.599267158002476] 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'] 0.6190269159997115 0.627542472 0.36084608300000004 Calling exit ...