Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001864/0.001864, allocations: 106.5 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.002214/0.002214, allocations: 213.6 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.431/1.431, 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.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// smpm.stator.zeroInductor.i0|smpm.is.1.|smpm.is.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|inertiaLoad.phi|inertiaLoad.w|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// smpm.stator.zeroInductor.i0|smpm.is.1.|smpm.is.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 47.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2125, allocations: 53.37 MB / 432.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking): time 0.01811/0.2306, allocations: 14.19 MB / 446.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009305/0.2399, allocations: 5.159 MB / 451.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.2411, allocations: 127.2 kB / 451.8 MB, free: 3.184 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002412/0.2435, allocations: 1.074 MB / 452.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002954/0.2465, allocations: 1.34 MB / 454.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001919/0.2484, allocations: 0.9382 MB / 455.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004195/0.2526, allocations: 4.046 MB / 459.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002479/0.2551, allocations: 1.809 MB / 461 MB, free: 9.879 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002166/0.2572, allocations: 1.885 MB / 462.9 MB, free: 7.988 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002725/0.26, allocations: 2.199 MB / 465.1 MB, free: 5.781 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006459/0.2606, allocations: 496 kB / 465.6 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/0.2619, allocations: 0.7068 MB / 466.3 MB, free: 4.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001103/0.263, allocations: 1.157 MB / 467.5 MB, free: 3.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.2648, allocations: 1.692 MB / 469.2 MB, free: 1.73 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006675/0.2715, allocations: 6.579 MB / 475.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2715, allocations: 0 / 475.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2715, allocations: 4 kB / 475.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.203e-05/0.2715, allocations: 0 / 475.7 MB, free: 11.12 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 818 * Number of variables: 818 Notification: Performance of Generate backend data structure: time 0.009365/0.2809, allocations: 4.377 MB / 480.1 MB, free: 6.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.2809, allocations: 12.03 kB / 480.1 MB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002905/0.2838, allocations: 0.6349 MB / 480.8 MB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004466/0.2883, allocations: 2.293 MB / 483.1 MB, free: 3.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/0.2885, allocations: 242.4 kB / 483.3 MB, free: 3.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005073/0.289, allocations: 308 kB / 483.6 MB, free: 3.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007133/0.2961, allocations: 4.343 MB / 487.9 MB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.691e-05/0.2962, allocations: 11.89 kB / 488 MB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003155/0.2965, allocations: 124 kB / 488.1 MB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001488/0.2967, allocations: 142.1 kB / 488.2 MB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00615/0.3028, allocations: 3.553 MB / 491.8 MB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01915/0.322, allocations: 11.73 MB / 0.4917 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004674/0.3266, allocations: 2.472 MB / 0.4941 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002086/0.3287, allocations: 1.246 MB / 0.4953 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005428/0.3342, allocations: 2.652 MB / 0.4979 GB, free: 8.508 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/0.3342, allocations: 59.75 kB / 0.498 GB, free: 8.438 MB / 414.1 MB Notification: Performance of pre-optimization done (n=136): time 3.326e-06/0.3342, allocations: 0 / 0.498 GB, free: 8.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.01287/0.3471, allocations: 5.938 MB / 0.5038 GB, free: 2.461 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.3471, allocations: 90.42 kB / 0.5039 GB, free: 2.355 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002506/0.3496, allocations: 1.778 MB / 0.5056 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.938e-05/0.3497, allocations: 49.7 kB / 0.5056 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001183/0.3509, allocations: 1.513 MB / 0.5071 GB, free: 15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004364/0.3514, allocations: 0.4958 MB / 0.5076 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005381/0.3519, allocations: 327.4 kB / 0.5079 GB, free: 14.17 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.352, allocations: 301.1 kB / 0.5082 GB, free: 13.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.3533, allocations: 0.7543 MB / 0.5089 GB, free: 13.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001778/0.3551, allocations: 1.345 MB / 0.5103 GB, free: 11.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003108/0.3582, allocations: 2.11 MB / 0.5123 GB, free: 9.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.147e-06/0.3582, allocations: 4 kB / 0.5123 GB, free: 9.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004527/0.3628, allocations: 2.596 MB / 0.5149 GB, free: 6.559 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.3628, allocations: 15.94 kB / 0.5149 GB, free: 6.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/0.3628, allocations: 19.98 kB / 0.5149 GB, free: 6.523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.364, allocations: 0.4951 MB / 0.5154 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.3655, allocations: 371.4 kB / 0.5157 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008605/0.3741, allocations: 7.249 MB / 0.5228 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.3752, allocations: 104 kB / 0.5229 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.3754, allocations: 72 kB / 0.523 GB, free: 13.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002596/0.378, allocations: 1.616 MB / 0.5246 GB, free: 12.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001714/0.3797, allocations: 1.329 MB / 0.5258 GB, free: 10.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002997/0.3827, allocations: 2.091 MB / 0.5279 GB, free: 8.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.084e-05/0.3827, allocations: 11.94 kB / 0.5279 GB, free: 8.398 MB / 446.1 MB Notification: Performance of matching and sorting (n=223) (initialization_lambda0): time 0.004344/0.387, allocations: 2.577 MB / 0.5304 GB, free: 5.801 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.387, allocations: 12 kB / 0.5304 GB, free: 5.789 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.3871, allocations: 16 kB / 0.5304 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.3882, allocations: 0.4993 MB / 0.5309 GB, free: 5.262 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.3896, allocations: 363.4 kB / 0.5313 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1794/0.5691, allocations: 7.252 MB / 0.5384 GB, free: 97.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.5706, allocations: 90.98 kB / 0.5384 GB, free: 97.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.5708, allocations: 74.55 kB / 0.5385 GB, free: 97.01 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (191): * Single equations (assignments): 187 * 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 {(1,5,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.0003525/0.5711, allocations: 301.3 kB / 0.5388 GB, free: 96.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/0.5714, allocations: 207.3 kB / 0.539 GB, free: 96.83 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003645/0.575, allocations: 2.255 MB / 0.5412 GB, free: 96.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.5751, allocations: 8.062 kB / 0.5412 GB, free: 96.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.5751, allocations: 0 / 0.5412 GB, free: 96.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008245/0.5759, allocations: 377.9 kB / 0.5416 GB, free: 96.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/0.5761, allocations: 26.88 kB / 0.5416 GB, free: 96.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008762/0.577, allocations: 73.53 kB / 0.5417 GB, free: 96.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/0.5772, allocations: 113.8 kB / 0.5418 GB, free: 96.34 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004413/0.5816, allocations: 2.378 MB / 0.5441 GB, free: 95.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002991/0.5846, allocations: 2.742 MB / 0.5468 GB, free: 94.43 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008768/0.5855, allocations: 0.7346 MB / 0.5475 GB, free: 94.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001301/0.5868, allocations: 1.196 MB / 0.5487 GB, free: 93.7 MB / 446.1 MB Notification: Performance of Backend: time 2.7e-07/0.5868, allocations: 0 / 0.5487 GB, free: 93.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004534/0.5913, allocations: 3.392 MB / 0.552 GB, free: 92 MB / 446.1 MB Notification: Performance of SimCode: time 0.007124/0.5985, allocations: 6.479 MB / 0.5583 GB, free: 86.61 MB / 446.1 MB Notification: Performance of Templates: time 0.05545/0.6539, allocations: 50.71 MB / 0.6078 GB, free: 36.94 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.896337620004488] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertiaLoad.phi', 'inertiaLoad.w', 'smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', '// smpm.stator.zeroInductor.i0', 'smpm.is[1]', 'smpm.is[2]'] 0.6614021979985409 0.670446438 0.396746855 Calling exit ...