Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.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.001306/0.001306, allocations: 106.8 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.001448/0.001448, allocations: 219 kB / 24.49 MB, free: 3.93 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.465/1.465, 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.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toSpacePhasor.y.1.|toSpacePhasor.y.2.|hallSensor.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toSpacePhasor.y.1.|toSpacePhasor.y.2.|hallSensor.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2235/0.2251, allocations: 53.36 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01107/0.2362, allocations: 8.081 MB / 440.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005874/0.242, allocations: 2.98 MB / 443.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.2431, allocations: 55.62 kB / 443.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001713/0.2448, allocations: 0.6484 MB / 444.1 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001991/0.2468, allocations: 0.7807 MB / 444.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006603/0.2474, allocations: 319.5 kB / 445.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00214/0.2496, allocations: 2.136 MB / 447.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.2507, allocations: 0.8393 MB / 448.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.2518, allocations: 0.9577 MB / 449.1 MB, free: 5.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001395/0.2532, allocations: 1.179 MB / 450.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003119/0.2535, allocations: 232 kB / 450.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005811/0.2541, allocations: 331.8 kB / 450.9 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006862/0.2548, allocations: 0.6856 MB / 451.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00092/0.2557, allocations: 0.8828 MB / 452.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003215/0.2589, allocations: 3.172 MB / 455.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2589, allocations: 0 / 455.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2589, allocations: 0 / 455.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.844e-05/0.2589, allocations: 0 / 455.6 MB, free: 15.32 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: 404 * Number of variables: 404 Notification: Performance of Generate backend data structure: time 0.004269/0.2632, allocations: 2.282 MB / 457.9 MB, free: 13 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.2632, allocations: 8.031 kB / 457.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006796/0.2639, allocations: 243.5 kB / 458.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/0.2662, allocations: 1.164 MB / 459.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.2663, allocations: 119.5 kB / 459.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002563/0.2665, allocations: 155.9 kB / 459.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003431/0.2699, allocations: 2.108 MB / 461.7 MB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.048e-05/0.27, allocations: 7.891 kB / 461.7 MB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001597/0.2702, allocations: 68 kB / 461.7 MB, free: 9.027 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.255e-05/0.2702, allocations: 78.92 kB / 461.8 MB, free: 8.949 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002857/0.2731, allocations: 1.674 MB / 463.5 MB, free: 7.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009207/0.2823, allocations: 6.202 MB / 469.7 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008643/0.2832, allocations: 454.1 kB / 470.1 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004644/0.2836, allocations: 260.6 kB / 470.4 MB, free: 44 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/0.2838, allocations: 44.34 kB / 470.4 MB, free: 0 / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.2839, allocations: 35 kB / 470.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 1.733e-06/0.2839, allocations: 0 / 470.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.006754/0.2906, allocations: 2.899 MB / 473.4 MB, free: 13.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.2907, allocations: 64.05 kB / 473.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/0.2927, allocations: 1.54 MB / 475 MB, free: 11.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/0.2928, allocations: 37.7 kB / 475 MB, free: 11.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008302/0.2936, allocations: 1.075 MB / 476.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.2938, allocations: 246 kB / 476.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004458/0.2943, allocations: 319.3 kB / 476.6 MB, free: 9.715 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2944, allocations: 305.1 kB / 476.9 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009279/0.2953, allocations: 0.5231 MB / 477.5 MB, free: 8.891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.297, allocations: 1.454 MB / 478.9 MB, free: 6.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002758/0.2998, allocations: 2.136 MB / 481.1 MB, free: 4.383 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/0.2998, allocations: 8 kB / 481.1 MB, free: 4.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003738/0.3035, allocations: 2.155 MB / 483.2 MB, free: 2.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/0.3036, allocations: 16 kB / 483.2 MB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.953e-05/0.3036, allocations: 36 kB / 483.3 MB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006156/0.3042, allocations: 231 kB / 483.5 MB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.3055, allocations: 399.3 kB / 483.9 MB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/0.3073, allocations: 1.709 MB / 485.6 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.3086, allocations: 151.7 kB / 485.7 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.3087, allocations: 99.92 kB / 485.8 MB, free: 15.47 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008695/0.3096, allocations: 0.585 MB / 486.4 MB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.3098, allocations: 151 kB / 486.6 MB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.3119, allocations: 1.084 MB / 487.7 MB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.3119, allocations: 7.922 kB / 487.7 MB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3119, allocations: 0 / 487.7 MB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005536/0.3124, allocations: 218.9 kB / 487.9 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001631/0.3126, allocations: 15.94 kB / 487.9 MB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006389/0.3132, allocations: 59.92 kB / 487.9 MB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.3134, allocations: 48.5 kB / 488 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002093/0.3155, allocations: 1.058 MB / 489.1 MB, free: 12.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002351/0.3178, allocations: 1.534 MB / 490.6 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006259/0.3184, allocations: 356.9 kB / 490.9 MB, free: 10.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001452/0.3199, allocations: 0.9817 MB / 491.9 MB, free: 9.309 MB / 398.1 MB Notification: Performance of Backend: time 2.81e-07/0.3199, allocations: 0 / 491.9 MB, free: 9.309 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002784/0.3227, allocations: 1.245 MB / 493.2 MB, free: 8.051 MB / 398.1 MB Notification: Performance of SimCode: time 0.005534/0.3282, allocations: 3.517 MB / 496.7 MB, free: 4.484 MB / 398.1 MB Notification: Performance of Templates: time 0.04018/0.3684, allocations: 23.26 MB / 0.5078 GB, free: 13.6 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.947755948996928] Failed to read output from testmodel.py, exit status != 0: ['time', 'toSpacePhasor.y[1]', 'toSpacePhasor.y[2]', 'hallSensor.y'] 0.3765011599971331 0.391089967 0.12902659600000002 Calling exit ...