Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.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.001312/0.001312, 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.00141/0.00141, allocations: 214.8 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.466/1.466, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.SMPM_ResistiveBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|tauElectrical|tauShaft|wMechanical",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 51.92 kB / 379 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2098, allocations: 53.37 MB / 432.4 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking): time 0.01366/0.2234, allocations: 10.04 MB / 442.4 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006073/0.2295, allocations: 3.404 MB / 445.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006924/0.2302, allocations: 83.44 kB / 445.9 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.2319, allocations: 0.8268 MB / 446.7 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002011/0.234, allocations: 0.9825 MB / 447.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008045/0.2348, allocations: 443.4 kB / 448.1 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004077/0.2388, allocations: 3.75 MB / 451.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002266/0.2411, allocations: 1.596 MB / 453.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002181/0.2433, allocations: 1.706 MB / 455.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002382/0.2457, allocations: 2.016 MB / 457.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005588/0.2462, allocations: 420 kB / 457.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009108/0.2471, allocations: 0.4959 MB / 458.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.2483, allocations: 1.212 MB / 459.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001769/0.2501, allocations: 1.579 MB / 460.9 MB, free: 10.01 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005597/0.2557, allocations: 5.605 MB / 466.5 MB, free: 4.383 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2557, allocations: 0 / 466.5 MB, free: 4.383 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2557, allocations: 0 / 466.5 MB, free: 4.383 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.074e-05/0.2557, allocations: 0 / 466.5 MB, free: 4.383 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: 739 * Number of variables: 739 Notification: Performance of Generate backend data structure: time 0.007263/0.263, allocations: 3.836 MB / 470.3 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.2631, allocations: 8.031 kB / 470.4 MB, free: 496 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009612/0.264, allocations: 410.6 kB / 470.8 MB, free: 84 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004063/0.2681, allocations: 2.008 MB / 472.8 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001822/0.2683, allocations: 214.1 kB / 473 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004616/0.2687, allocations: 287.9 kB / 473.3 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006543/0.2753, allocations: 4.162 MB / 477.4 MB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.55e-05/0.2753, allocations: 11.95 kB / 477.4 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002758/0.2756, allocations: 112 kB / 477.5 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/0.2758, allocations: 121.5 kB / 477.7 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005356/0.2811, allocations: 3.25 MB / 480.9 MB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01761/0.2987, allocations: 10.35 MB / 491.3 MB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002623/0.3013, allocations: 1.734 MB / 493 MB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002127/0.3035, allocations: 1.152 MB / 494.1 MB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002066/0.3037, allocations: 41.28 kB / 494.2 MB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.953e-05/0.3037, allocations: 51.88 kB / 494.2 MB, free: 8.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=136): time 3.276e-06/0.3037, allocations: 0 / 494.2 MB, free: 8.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=151): time 0.01401/0.3177, allocations: 6.512 MB / 0.489 GB, free: 1.543 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.3178, allocations: 64.72 kB / 0.4891 GB, free: 1.469 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002586/0.3204, allocations: 1.904 MB / 0.4909 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.3205, allocations: 49.7 kB / 0.491 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001085/0.3216, allocations: 1.416 MB / 0.4924 GB, free: 14.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004547/0.322, allocations: 0.5346 MB / 0.4929 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005699/0.3226, allocations: 351.4 kB / 0.4932 GB, free: 13.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3227, allocations: 301.1 kB / 0.4935 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.3241, allocations: 0.8705 MB / 0.4944 GB, free: 12.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/0.3259, allocations: 1.369 MB / 0.4957 GB, free: 10.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003261/0.3292, allocations: 2.326 MB / 0.498 GB, free: 7.914 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.3292, allocations: 4 kB / 0.498 GB, free: 7.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=235) (initialization): time 0.005627/0.3348, allocations: 3.184 MB / 0.5011 GB, free: 4.684 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.3348, allocations: 8 kB / 0.5011 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.3349, allocations: 16 kB / 0.5011 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002418/0.3373, allocations: 0.8522 MB / 0.5019 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.3385, allocations: 343.4 kB / 0.5023 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.019/0.3575, allocations: 19.12 MB / 0.5209 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.3588, allocations: 103.9 kB / 0.521 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.3589, allocations: 79.98 kB / 0.5211 GB, free: 15.02 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 2 (booleanReplicator3.y[3],booleanReplicator2.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(2,9,100.0%), (1,6,100.0%), (1,3,100.0%), (1,4,100.0%), (1,3,100.0%), (1,4,100.0%), (1,3,100.0%), (1,4,100.0%), (2,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001519/0.3604, allocations: 0.9327 MB / 0.522 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003333/0.3608, allocations: 210.7 kB / 0.5222 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004636/0.3654, allocations: 2.525 MB / 0.5247 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.849e-05/0.3654, allocations: 15.95 kB / 0.5247 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3654, allocations: 4 kB / 0.5247 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/0.3665, allocations: 398.6 kB / 0.5251 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002605/0.3667, allocations: 31.94 kB / 0.5251 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009903/0.3677, allocations: 111.9 kB / 0.5252 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002749/0.368, allocations: 137 kB / 0.5253 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005248/0.3732, allocations: 2.582 MB / 0.5279 GB, free: 7.988 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004329/0.3776, allocations: 3.016 MB / 0.5308 GB, free: 4.953 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00121/0.3788, allocations: 0.8142 MB / 0.5316 GB, free: 4.141 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001818/0.3806, allocations: 1.267 MB / 0.5328 GB, free: 2.883 MB / 446.1 MB Notification: Performance of Backend: time 2.61e-07/0.3806, allocations: 0 / 0.5328 GB, free: 2.883 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1671/0.5477, allocations: 2.807 MB / 0.5356 GB, free: 102.3 MB / 446.1 MB Notification: Performance of SimCode: time 0.01042/0.5581, allocations: 6.331 MB / 0.5418 GB, free: 99.8 MB / 446.1 MB Notification: Performance of Templates: time 0.04993/0.608, allocations: 43.93 MB / 0.5847 GB, free: 62.14 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_ResistiveBraking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.639263801000197] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertiaLoad.phi', 'inertiaLoad.w', 'smpm.is[1]', 'smpm.is[2]', 'smpm.idq_sr[1]', 'smpm.idq_sr[2]', 'tauElectrical', 'tauShaft', 'wMechanical'] 0.6156172439950751 0.625988989 0.36711877600000004 Calling exit ...