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_NoLoad.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.001513/0.001513, 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.001598/0.001598, 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.4/1.4, allocations: 230.4 MB / 258.1 MB, free: 8.156 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_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toPolar.y.1.|toPolar.y.2.|hallSensor.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3200,variableFilter="time|toPolar.y.1.|toPolar.y.2.|hallSensor.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") [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.001953/0.001953, allocations: 67.89 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2055, allocations: 53.32 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad): time 0.01114/0.2167, allocations: 9.187 MB / 441.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004981/0.2217, allocations: 3.198 MB / 444.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004917/0.2222, allocations: 47.75 kB / 444.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001427/0.2236, allocations: 0.7263 MB / 445.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001541/0.2251, allocations: 0.7534 MB / 446 MB, free: 9.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005879/0.2257, allocations: 323.5 kB / 446.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002172/0.2279, allocations: 2.136 MB / 448.4 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.2291, allocations: 0.8398 MB / 449.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.2301, allocations: 0.9304 MB / 450.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.2316, allocations: 1.179 MB / 451.4 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004096/0.232, allocations: 232 kB / 451.6 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005451/0.2325, allocations: 327.8 kB / 451.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006996/0.2332, allocations: 0.6895 MB / 452.6 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.2343, allocations: 1.1 MB / 453.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003167/0.2375, allocations: 3.153 MB / 456.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.2375, allocations: 0 / 456.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2375, allocations: 0 / 456.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.612e-05/0.2375, allocations: 0 / 456.9 MB, free: 14.41 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.004252/0.2417, allocations: 2.353 MB / 459.2 MB, free: 12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.2418, allocations: 8.031 kB / 459.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006482/0.2424, allocations: 243.5 kB / 459.5 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/0.2446, allocations: 1.244 MB / 460.7 MB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.2447, allocations: 119.5 kB / 460.8 MB, free: 10.33 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/0.245, allocations: 151.9 kB / 461 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003225/0.2482, allocations: 2.033 MB / 463 MB, free: 8.098 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.938e-05/0.2482, allocations: 11.94 kB / 463 MB, free: 8.086 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001451/0.2484, allocations: 60 kB / 463.1 MB, free: 8.027 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-05/0.2485, allocations: 78.94 kB / 463.2 MB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002843/0.2513, allocations: 1.678 MB / 464.8 MB, free: 6.266 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/0.2613, allocations: 7.056 MB / 471.9 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008661/0.2622, allocations: 460.4 kB / 472.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004581/0.2627, allocations: 262 kB / 472.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002164/0.2629, allocations: 113.4 kB / 472.7 MB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.2629, allocations: 43.38 kB / 472.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.876e-06/0.2629, allocations: 0 / 472.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.006919/0.2698, allocations: 3.06 MB / 475.8 MB, free: 10.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.2699, allocations: 59.97 kB / 475.9 MB, free: 10.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002184/0.2721, allocations: 1.632 MB / 477.5 MB, free: 9.141 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/0.2721, allocations: 41.7 kB / 477.5 MB, free: 9.094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008602/0.273, allocations: 1.068 MB / 478.6 MB, free: 8.016 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.2732, allocations: 242 kB / 478.8 MB, free: 7.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004351/0.2736, allocations: 323.3 kB / 479.2 MB, free: 7.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2738, allocations: 305.1 kB / 479.5 MB, free: 7.156 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009327/0.2747, allocations: 0.527 MB / 480 MB, free: 6.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/0.2764, allocations: 1.454 MB / 481.4 MB, free: 4.715 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002785/0.2792, allocations: 2.137 MB / 483.6 MB, free: 2.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/0.2792, allocations: 8 kB / 483.6 MB, free: 2.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003614/0.2828, allocations: 2.165 MB / 485.8 MB, free: 15.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.8e-05/0.2828, allocations: 20 kB / 485.8 MB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.25e-05/0.2829, allocations: 35.94 kB / 485.8 MB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005681/0.2834, allocations: 231.1 kB / 486 MB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.2846, allocations: 399.3 kB / 486.4 MB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001902/0.2865, allocations: 1.851 MB / 488.3 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.2877, allocations: 147.7 kB / 488.4 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.2878, allocations: 92 kB / 488.5 MB, free: 13.02 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.0008104/0.2886, allocations: 0.5905 MB / 489.1 MB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.2889, allocations: 159 kB / 489.3 MB, free: 12.26 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002066/0.2909, allocations: 1.094 MB / 490.3 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.2909, allocations: 3.984 kB / 490.4 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2909, allocations: 0 / 490.4 MB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005604/0.2915, allocations: 311.9 kB / 490.7 MB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/0.2917, allocations: 12 kB / 490.7 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006551/0.2923, allocations: 59.92 kB / 490.7 MB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.2924, allocations: 44.5 kB / 490.8 MB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0021/0.2945, allocations: 1.055 MB / 491.8 MB, free: 9.629 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002377/0.2969, allocations: 1.544 MB / 493.4 MB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006107/0.2975, allocations: 360.2 kB / 493.7 MB, free: 7.719 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001523/0.299, allocations: 1.083 MB / 494.8 MB, free: 6.641 MB / 398.1 MB Notification: Performance of Backend: time 2.3e-07/0.299, allocations: 0 / 494.8 MB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002659/0.3017, allocations: 1.397 MB / 496.2 MB, free: 5.184 MB / 398.1 MB Notification: Performance of SimCode: time 0.005471/0.3072, allocations: 3.613 MB / 499.8 MB, free: 1.52 MB / 398.1 MB Notification: Performance of Templates: time 0.0393/0.3465, allocations: 21.97 MB / 0.5096 GB, free: 11.77 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.711331145837903] Failed to read output from testmodel.py, exit status != 0: ['time', 'toPolar.y[1]', 'toPolar.y[2]', 'hallSensor.y'] 0.35451563308015466 0.368441802 0.127944841 Calling exit ...