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_Braking.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.001748/0.001748, allocations: 114.3 kB / 21.18 MB, free: 0.6289 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.001342/0.001342, allocations: 210.9 kB / 24.48 MB, free: 4.035 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.409/1.409, allocations: 230.4 MB / 258.1 MB, free: 8.145 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_Braking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.is.1.|smpm.is.2.|smpm.idq_sr.1.|smpm.idq_sr.2.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking") [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.001959/0.001959, allocations: 71.83 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2181, allocations: 53.32 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking): time 0.01363/0.2317, allocations: 11.6 MB / 443.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006965/0.2387, allocations: 3.793 MB / 447.5 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.24, allocations: 67.69 kB / 447.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001996/0.242, allocations: 0.8814 MB / 448.4 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002524/0.2446, allocations: 0.9748 MB / 449.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.2456, allocations: 0.4913 MB / 449.9 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003803/0.2494, allocations: 3.349 MB / 453.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002/0.2514, allocations: 1.464 MB / 454.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001909/0.2533, allocations: 1.487 MB / 456.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002485/0.2558, allocations: 1.845 MB / 458 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005046/0.2563, allocations: 392 kB / 458.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000827/0.2572, allocations: 491.8 kB / 458.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001063/0.2582, allocations: 1.095 MB / 460 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0018/0.26, allocations: 1.766 MB / 461.7 MB, free: 9.539 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005446/0.2655, allocations: 5.146 MB / 466.9 MB, free: 4.375 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2655, allocations: 4 kB / 466.9 MB, free: 4.371 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2655, allocations: 4 kB / 466.9 MB, free: 4.367 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.803e-05/0.2656, allocations: 0 / 466.9 MB, free: 4.367 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: 653 * Number of variables: 653 Notification: Performance of Generate backend data structure: time 0.006866/0.2724, allocations: 3.57 MB / 470.5 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.2725, allocations: 8.031 kB / 470.5 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008904/0.2734, allocations: 370.8 kB / 470.8 MB, free: 364 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003535/0.2769, allocations: 1.911 MB / 472.7 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.2771, allocations: 188.9 kB / 472.9 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003707/0.2774, allocations: 251.9 kB / 473.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005474/0.2829, allocations: 3.422 MB / 476.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.619e-05/0.283, allocations: 15.88 kB / 476.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002477/0.2832, allocations: 108 kB / 476.7 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001264/0.2833, allocations: 116.8 kB / 476.8 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005237/0.2886, allocations: 2.931 MB / 479.8 MB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01697/0.3055, allocations: 10.79 MB / 490.6 MB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003073/0.3086, allocations: 2.308 MB / 492.9 MB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001939/0.3106, allocations: 1.09 MB / 494 MB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/0.3108, allocations: 126.3 kB / 494.1 MB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.868e-05/0.3109, allocations: 51.88 kB / 494.1 MB, free: 8.406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=133): time 3.938e-06/0.3109, allocations: 0 / 494.1 MB, free: 8.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=147): time 0.01601/0.3269, allocations: 7.289 MB / 0.4897 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/0.3269, allocations: 94.42 kB / 0.4898 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002818/0.3298, allocations: 1.835 MB / 0.4915 GB, free: 15.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000115/0.3299, allocations: 49.7 kB / 0.4916 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.3309, allocations: 1.245 MB / 0.4928 GB, free: 13.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004638/0.3313, allocations: 0.519 MB / 0.4933 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005087/0.3319, allocations: 315.5 kB / 0.4936 GB, free: 12.9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.332, allocations: 301.1 kB / 0.4939 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.3334, allocations: 0.8597 MB / 0.4947 GB, free: 11.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/0.3352, allocations: 1.318 MB / 0.496 GB, free: 10.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003265/0.3384, allocations: 2.261 MB / 0.4982 GB, free: 7.773 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/0.3384, allocations: 4 kB / 0.4982 GB, free: 7.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004979/0.3434, allocations: 2.846 MB / 0.501 GB, free: 4.902 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/0.3434, allocations: 11.94 kB / 0.501 GB, free: 4.891 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/0.3435, allocations: 19.94 kB / 0.5011 GB, free: 4.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001597/0.3451, allocations: 0.6633 MB / 0.5017 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/0.3464, allocations: 367.4 kB / 0.5021 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.357, allocations: 9.05 MB / 0.5109 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.3585, allocations: 115.9 kB / 0.511 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.3586, allocations: 71.98 kB / 0.5111 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002693/0.3613, allocations: 1.581 MB / 0.5126 GB, free: 8.602 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001768/0.3631, allocations: 1.303 MB / 0.5139 GB, free: 7.109 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003162/0.3662, allocations: 2.245 MB / 0.5161 GB, free: 4.668 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.081e-05/0.3662, allocations: 7.938 kB / 0.5161 GB, free: 4.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization_lambda0): time 0.004831/0.3711, allocations: 2.826 MB / 0.5188 GB, free: 1.812 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3711, allocations: 8 kB / 0.5189 GB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.3711, allocations: 16 kB / 0.5189 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/0.3726, allocations: 0.6713 MB / 0.5195 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.3739, allocations: 351.4 kB / 0.5199 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/0.3844, allocations: 9.058 MB / 0.5287 GB, free: 7.273 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.3859, allocations: 111.8 kB / 0.5288 GB, free: 7.164 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.3861, allocations: 68.06 kB / 0.5289 GB, free: 7.098 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 6 (diodeBridge2mPulse.diode_n.idealDiode[3].off,diodeBridge2mPulse.diode_n.idealDiode[2].off,diodeBridge2mPulse.diode_n.idealDiode[1].off,diodeBridge2mPulse.diode_p.idealDiode[3].off,diodeBridge2mPulse.diode_p.idealDiode[2].off,diodeBridge2mPulse.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (181): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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 {(2,9,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0004557/0.3865, allocations: 295.6 kB / 0.5292 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003826/0.3869, allocations: 210.7 kB / 0.5294 GB, free: 6.594 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004587/0.3915, allocations: 2.543 MB / 0.5318 GB, free: 4.031 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.3915, allocations: 3.984 kB / 0.5318 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.3915, allocations: 3.938 kB / 0.5318 GB, free: 4.023 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/0.3926, allocations: 479.6 kB / 0.5323 GB, free: 3.535 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/0.3929, allocations: 36.11 kB / 0.5323 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009766/0.3938, allocations: 91.89 kB / 0.5324 GB, free: 3.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/0.3941, allocations: 105.1 kB / 0.5325 GB, free: 3.305 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005576/0.3997, allocations: 2.722 MB / 0.5352 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1866/0.5863, allocations: 3.234 MB / 0.5383 GB, free: 100.2 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001127/0.5874, allocations: 0.8672 MB / 0.5392 GB, free: 100 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001592/0.589, allocations: 1.262 MB / 0.5404 GB, free: 99.56 MB / 446.1 MB Notification: Performance of Backend: time 5.21e-07/0.589, allocations: 3.969 kB / 0.5404 GB, free: 99.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005451/0.5944, allocations: 3.731 MB / 0.5441 GB, free: 97.64 MB / 446.1 MB Notification: Performance of SimCode: time 0.006844/0.6013, allocations: 5.872 MB / 0.5498 GB, free: 94.75 MB / 446.1 MB Notification: Performance of Templates: time 0.05315/0.6544, allocations: 48.2 MB / 0.5969 GB, free: 50.16 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.380682946182787] 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]'] 0.6623982428573072 0.671795542 0.40410888899999997 Calling exit ...