Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking.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.001256/0.001256, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001438/0.001438, allocations: 211.6 kB / 24.49 MB, free: 3.965 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.434/1.434, 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_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_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_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 47.92 kB / 379 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.2113, allocations: 53.37 MB / 432.4 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking): time 0.01333/0.2246, allocations: 10.12 MB / 442.5 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006075/0.2307, allocations: 3.56 MB / 446 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007383/0.2314, allocations: 83.44 kB / 446.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.2332, allocations: 0.8218 MB / 446.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002166/0.2354, allocations: 0.9826 MB / 447.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009837/0.2364, allocations: 494.5 kB / 448.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00346/0.2399, allocations: 3.354 MB / 451.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002044/0.2419, allocations: 1.456 MB / 453.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001923/0.2438, allocations: 1.534 MB / 454.8 MB, free: 128 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00236/0.2462, allocations: 1.845 MB / 456.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005561/0.2467, allocations: 392 kB / 457 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008992/0.2476, allocations: 491.8 kB / 457.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.2488, allocations: 1.091 MB / 458.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001548/0.2503, allocations: 1.416 MB / 460 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005289/0.2556, allocations: 5.185 MB / 465.2 MB, free: 5.691 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2556, allocations: 0 / 465.2 MB, free: 5.691 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2556, allocations: 0 / 465.2 MB, free: 5.691 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.99e-05/0.2557, allocations: 0 / 465.2 MB, free: 5.691 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.006871/0.2626, allocations: 3.499 MB / 468.7 MB, free: 2.141 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.2626, allocations: 19.98 kB / 468.7 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009258/0.2635, allocations: 366.8 kB / 469 MB, free: 1.762 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003763/0.2673, allocations: 1.835 MB / 470.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001783/0.2675, allocations: 192.9 kB / 471.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004227/0.2679, allocations: 252 kB / 471.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005992/0.2739, allocations: 3.572 MB / 474.9 MB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.852e-05/0.274, allocations: 11.89 kB / 474.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002582/0.2742, allocations: 108 kB / 475 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001446/0.2744, allocations: 116.8 kB / 475.1 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005022/0.2794, allocations: 2.923 MB / 478 MB, free: 8.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01579/0.2952, allocations: 9.443 MB / 487.5 MB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002715/0.2979, allocations: 1.63 MB / 489.1 MB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/0.2998, allocations: 1.082 MB / 490.2 MB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002174/0.3, allocations: 45.28 kB / 490.2 MB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/0.3001, allocations: 55.88 kB / 490.3 MB, free: 12.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=133): time 3.206e-06/0.3001, allocations: 0 / 490.3 MB, free: 12.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=147): time 0.01508/0.3152, allocations: 6.883 MB / 497.2 MB, free: 5.121 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.3152, allocations: 102.4 kB / 497.3 MB, free: 5.004 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002457/0.3177, allocations: 1.678 MB / 498.9 MB, free: 3.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001053/0.3178, allocations: 53.64 kB / 499 MB, free: 3.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.3188, allocations: 1.259 MB / 0.4885 GB, free: 1.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005039/0.3193, allocations: 0.5191 MB / 0.489 GB, free: 1.465 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000537/0.3199, allocations: 315.5 kB / 0.4893 GB, free: 1.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.32, allocations: 301.1 kB / 0.4896 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.3214, allocations: 0.8559 MB / 0.4905 GB, free: 15.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/0.3233, allocations: 1.34 MB / 0.4918 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003397/0.3267, allocations: 2.264 MB / 0.494 GB, free: 11.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.3267, allocations: 8 kB / 0.494 GB, free: 11.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.005102/0.3318, allocations: 2.834 MB / 0.4968 GB, free: 9.121 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.3318, allocations: 12 kB / 0.4968 GB, free: 9.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/0.3318, allocations: 15.98 kB / 0.4968 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001705/0.3335, allocations: 0.6784 MB / 0.4974 GB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.3348, allocations: 359.4 kB / 0.4978 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/0.3454, allocations: 8.592 MB / 0.5062 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.3468, allocations: 107.8 kB / 0.5063 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.3469, allocations: 68 kB / 0.5063 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002652/0.3496, allocations: 1.585 MB / 0.5079 GB, free: 13.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001768/0.3514, allocations: 1.332 MB / 0.5092 GB, free: 11.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00322/0.3546, allocations: 2.237 MB / 0.5114 GB, free: 9.434 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.556e-06/0.3546, allocations: 4 kB / 0.5114 GB, free: 9.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=218) (initialization_lambda0): time 0.004816/0.3594, allocations: 2.811 MB / 0.5141 GB, free: 6.598 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3594, allocations: 14.81 kB / 0.5141 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.3595, allocations: 12 kB / 0.5141 GB, free: 6.574 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001628/0.3611, allocations: 0.6675 MB / 0.5148 GB, free: 5.895 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.3624, allocations: 363.3 kB / 0.5151 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/0.3728, allocations: 8.585 MB / 0.5235 GB, free: 12.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/0.374, allocations: 103.9 kB / 0.5236 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.3742, allocations: 75.92 kB / 0.5237 GB, free: 12.47 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.0004141/0.3746, allocations: 299.5 kB / 0.524 GB, free: 12.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003305/0.3749, allocations: 198.7 kB / 0.5242 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004581/0.3795, allocations: 2.534 MB / 0.5267 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.539e-05/0.3795, allocations: 7.969 kB / 0.5267 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3795, allocations: 0 / 0.5267 GB, free: 9.414 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.3805, allocations: 386.6 kB / 0.527 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/0.3808, allocations: 24 kB / 0.5271 GB, free: 9.012 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009471/0.3817, allocations: 99.88 kB / 0.5271 GB, free: 8.914 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/0.382, allocations: 113.1 kB / 0.5273 GB, free: 8.801 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005635/0.3876, allocations: 2.702 MB / 0.5299 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004931/0.3926, allocations: 3.221 MB / 0.533 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001322/0.3939, allocations: 0.8652 MB / 0.5339 GB, free: 1.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001805/0.3957, allocations: 1.135 MB / 0.535 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of Backend: time 4.2e-07/0.3957, allocations: 0 / 0.535 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.175/0.5707, allocations: 3.566 MB / 0.5385 GB, free: 102.5 MB / 446.1 MB Notification: Performance of SimCode: time 0.008222/0.5789, allocations: 5.769 MB / 0.5441 GB, free: 99.8 MB / 446.1 MB Notification: Performance of Templates: time 0.05398/0.6329, allocations: 49.94 MB / 0.5929 GB, free: 54.83 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_Braking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.087692434004566] 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.6404577330031316 0.649290075 0.39144820900000005 Calling exit ...