Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001757/0.001757, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.002038/0.002038, allocations: 212.1 kB / 24.48 MB, free: 4.191 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.402/1.402, allocations: 230.4 MB / 258.1 MB, free: 8.125 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.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-beta.om_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-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001988/0.001988, allocations: 67.84 kB / 378.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2086, allocations: 53.31 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking): time 0.01901/0.2276, allocations: 16.41 MB / 448.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009585/0.2372, allocations: 5.466 MB / 454 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/0.2392, allocations: 99.62 kB / 454 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002638/0.2418, allocations: 1.142 MB / 455.2 MB, free: 176 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002996/0.2448, allocations: 1.34 MB / 456.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.2467, allocations: 0.9766 MB / 457.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004008/0.2507, allocations: 4.036 MB / 461.5 MB, free: 9.797 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002289/0.253, allocations: 1.808 MB / 463.4 MB, free: 7.914 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001972/0.255, allocations: 1.85 MB / 465.2 MB, free: 6.059 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002654/0.2576, allocations: 2.191 MB / 467.4 MB, free: 3.859 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005815/0.2582, allocations: 0.4922 MB / 467.9 MB, free: 3.367 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.2593, allocations: 0.7146 MB / 468.6 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.2603, allocations: 1.153 MB / 469.8 MB, free: 1.496 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001954/0.2623, allocations: 2.135 MB / 471.9 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00623/0.2685, allocations: 6.552 MB / 478.4 MB, free: 8.777 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2685, allocations: 3.938 kB / 478.4 MB, free: 8.773 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2685, allocations: 0 / 478.4 MB, free: 8.773 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.303e-05/0.2686, allocations: 0 / 478.4 MB, free: 8.773 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.009281/0.2779, allocations: 4.452 MB / 482.9 MB, free: 4.242 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2779, allocations: 8.031 kB / 482.9 MB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002726/0.2806, allocations: 0.6427 MB / 483.5 MB, free: 3.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004209/0.2848, allocations: 2.389 MB / 485.9 MB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.285, allocations: 238.4 kB / 486.2 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004586/0.2855, allocations: 308 kB / 486.5 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006596/0.2921, allocations: 4.189 MB / 490.7 MB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.774e-05/0.2921, allocations: 3.953 kB / 490.7 MB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002949/0.2924, allocations: 135.9 kB / 490.8 MB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001399/0.2926, allocations: 142.1 kB / 490.9 MB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005905/0.2985, allocations: 3.569 MB / 494.5 MB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01958/0.3181, allocations: 13.77 MB / 0.4964 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006261/0.3243, allocations: 6.041 MB / 0.5023 GB, free: 3.484 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002033/0.3264, allocations: 1.253 MB / 0.5035 GB, free: 2.238 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005727/0.3321, allocations: 3.329 MB / 0.5067 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.3321, allocations: 47.81 kB / 0.5068 GB, free: 14.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=136): time 2.715e-06/0.3321, allocations: 0 / 0.5068 GB, free: 14.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.01296/0.3451, allocations: 6.572 MB / 0.5132 GB, free: 7.988 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.3452, allocations: 90.42 kB / 0.5133 GB, free: 7.883 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002744/0.3479, allocations: 1.946 MB / 0.5152 GB, free: 5.895 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.422e-05/0.348, allocations: 45.7 kB / 0.5152 GB, free: 5.844 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001157/0.3491, allocations: 1.506 MB / 0.5167 GB, free: 4.324 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004137/0.3496, allocations: 0.4919 MB / 0.5172 GB, free: 3.828 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005008/0.3501, allocations: 323.4 kB / 0.5175 GB, free: 3.508 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3502, allocations: 313.1 kB / 0.5178 GB, free: 3.199 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.3514, allocations: 0.7543 MB / 0.5185 GB, free: 2.441 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/0.3531, allocations: 1.287 MB / 0.5198 GB, free: 0.918 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003009/0.3561, allocations: 2.114 MB / 0.5218 GB, free: 14.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.3561, allocations: 4 kB / 0.5218 GB, free: 14.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.004429/0.3606, allocations: 2.695 MB / 0.5245 GB, free: 11.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.3606, allocations: 12 kB / 0.5245 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/0.3606, allocations: 16.41 kB / 0.5245 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.3618, allocations: 0.4913 MB / 0.525 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.3632, allocations: 375.4 kB / 0.5253 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00867/0.3718, allocations: 7.702 MB / 0.5329 GB, free: 2.812 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.3734, allocations: 99.92 kB / 0.533 GB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/0.3735, allocations: 79.98 kB / 0.533 GB, free: 2.637 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002668/0.3762, allocations: 1.613 MB / 0.5346 GB, free: 1.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.1638/0.54, allocations: 1.268 MB / 0.5359 GB, free: 98.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002716/0.5428, allocations: 2.095 MB / 0.5379 GB, free: 98.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.318e-06/0.5428, allocations: 4.344 kB / 0.5379 GB, free: 98.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=223) (initialization_lambda0): time 0.003713/0.5465, allocations: 2.673 MB / 0.5405 GB, free: 97.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.5465, allocations: 12.88 kB / 0.5405 GB, free: 97.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.5465, allocations: 18.44 kB / 0.5405 GB, free: 97.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009357/0.5474, allocations: 0.4999 MB / 0.541 GB, free: 97.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.5486, allocations: 361 kB / 0.5414 GB, free: 97.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005569/0.5542, allocations: 7.709 MB / 0.5489 GB, free: 91.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.5555, allocations: 89.77 kB / 0.549 GB, free: 91.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.543e-05/0.5556, allocations: 74.55 kB / 0.5491 GB, free: 91.19 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.0002986/0.5559, allocations: 300.9 kB / 0.5493 GB, free: 90.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.5561, allocations: 220.4 kB / 0.5496 GB, free: 90.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00312/0.5592, allocations: 2.412 MB / 0.5519 GB, free: 89.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.5592, allocations: 11.44 kB / 0.5519 GB, free: 89.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5592, allocations: 3.25 kB / 0.5519 GB, free: 89.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006814/0.5599, allocations: 471.1 kB / 0.5524 GB, free: 89.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.5602, allocations: 26.41 kB / 0.5524 GB, free: 89.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008764/0.561, allocations: 69.89 kB / 0.5525 GB, free: 89.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.5612, allocations: 112.2 kB / 0.5526 GB, free: 89.53 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003911/0.5651, allocations: 2.401 MB / 0.5549 GB, free: 88.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002827/0.568, allocations: 2.757 MB / 0.5576 GB, free: 87.53 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007862/0.5687, allocations: 0.7349 MB / 0.5583 GB, free: 87.25 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001334/0.5701, allocations: 1.332 MB / 0.5596 GB, free: 86.34 MB / 446.1 MB Notification: Performance of Backend: time 2.2e-07/0.5701, allocations: 0 / 0.5596 GB, free: 86.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004225/0.5743, allocations: 3.541 MB / 0.5631 GB, free: 82.88 MB / 446.1 MB Notification: Performance of SimCode: time 0.007065/0.5814, allocations: 6.612 MB / 0.5695 GB, free: 76.28 MB / 446.1 MB Notification: Performance of Templates: time 0.0572/0.6386, allocations: 48.87 MB / 0.6173 GB, free: 27.82 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.699932903051376] 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.6460278518497944 0.6543333490000001 0.383655648 Calling exit ...