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.SMR_Inverter.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.001273/0.001273, allocations: 114 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.001423/0.001423, allocations: 214.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.413/1.413, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter") [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.001934/0.001934, allocations: 71.81 kB / 378.8 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2156, allocations: 53.3 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter): time 0.01232/0.228, allocations: 9.767 MB / 441.8 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005732/0.2337, allocations: 3.178 MB / 445 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007495/0.2344, allocations: 55.75 kB / 445.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.2359, allocations: 0.7182 MB / 445.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001754/0.2377, allocations: 0.7999 MB / 446.6 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007723/0.2384, allocations: 403.3 kB / 447 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002637/0.2411, allocations: 2.556 MB / 449.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001766/0.2428, allocations: 1.303 MB / 450.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.2443, allocations: 1.207 MB / 452 MB, free: 3.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002011/0.2463, allocations: 1.53 MB / 453.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004032/0.2467, allocations: 316 kB / 453.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007017/0.2474, allocations: 431.8 kB / 454.3 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009304/0.2483, allocations: 0.9115 MB / 455.2 MB, free: 88 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001416/0.2497, allocations: 1.419 MB / 456.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004298/0.254, allocations: 4.172 MB / 460.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.254, allocations: 0 / 460.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.254, allocations: 0 / 460.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.256e-05/0.2541, allocations: 4 kB / 460.8 MB, free: 10.47 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.005535/0.2596, allocations: 2.98 MB / 463.8 MB, free: 7.422 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.2596, allocations: 12.03 kB / 463.8 MB, free: 7.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007853/0.2604, allocations: 307.2 kB / 464.1 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002824/0.2632, allocations: 1.551 MB / 465.7 MB, free: 5.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.2634, allocations: 164.3 kB / 465.8 MB, free: 5.336 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003277/0.2637, allocations: 211.9 kB / 466 MB, free: 5.129 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004628/0.2683, allocations: 2.799 MB / 468.8 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.249e-05/0.2684, allocations: 4 kB / 468.8 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000208/0.2686, allocations: 88 kB / 468.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000124/0.2687, allocations: 108.1 kB / 469 MB, free: 2.043 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004183/0.2729, allocations: 2.347 MB / 471.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01317/0.2861, allocations: 8.529 MB / 479.9 MB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002578/0.2887, allocations: 1.632 MB / 481.5 MB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001787/0.2904, allocations: 0.9097 MB / 482.4 MB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002914/0.2907, allocations: 207.2 kB / 482.6 MB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.2908, allocations: 47.5 kB / 482.7 MB, free: 3.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=101): time 2.695e-06/0.2908, allocations: 0 / 482.7 MB, free: 3.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=116): time 0.01333/0.3041, allocations: 6.263 MB / 488.9 MB, free: 13.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.3042, allocations: 60.41 kB / 489 MB, free: 13.45 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.3062, allocations: 1.441 MB / 490.4 MB, free: 12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.938e-05/0.3063, allocations: 45.7 kB / 490.5 MB, free: 11.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008946/0.3071, allocations: 1.071 MB / 491.6 MB, free: 10.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003723/0.3075, allocations: 428.3 kB / 492 MB, free: 10.44 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000427/0.3079, allocations: 259.5 kB / 492.2 MB, free: 10.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.3081, allocations: 365.9 kB / 492.6 MB, free: 9.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.3094, allocations: 0.6871 MB / 493.3 MB, free: 9.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/0.311, allocations: 1.07 MB / 494.3 MB, free: 7.902 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002911/0.3139, allocations: 1.867 MB / 496.2 MB, free: 5.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.3139, allocations: 4 kB / 496.2 MB, free: 5.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004535/0.3184, allocations: 2.418 MB / 498.6 MB, free: 3.41 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.3185, allocations: 12 kB / 498.6 MB, free: 3.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.3185, allocations: 12 kB / 498.7 MB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009874/0.3195, allocations: 415.3 kB / 499.1 MB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.3208, allocations: 331.5 kB / 499.4 MB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0077/0.3285, allocations: 7.046 MB / 0.4946 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.3297, allocations: 99.84 kB / 0.4947 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.3298, allocations: 60 kB / 0.4947 GB, free: 11.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (157): * Single equations (assignments): 153 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001162/0.331, allocations: 0.6963 MB / 0.4954 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002982/0.3313, allocations: 166.9 kB / 0.4956 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003887/0.3352, allocations: 2.119 MB / 0.4976 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.3352, allocations: 7.984 kB / 0.4976 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3352, allocations: 0 / 0.4976 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007722/0.336, allocations: 383.9 kB / 0.498 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/0.3362, allocations: 27.98 kB / 0.498 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008668/0.337, allocations: 91.89 kB / 0.4981 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001861/0.3372, allocations: 96.78 kB / 0.4982 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004621/0.3419, allocations: 2.137 MB / 0.5003 GB, free: 5.215 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004126/0.346, allocations: 2.641 MB / 0.5029 GB, free: 2.559 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001143/0.3471, allocations: 0.7026 MB / 0.5036 GB, free: 1.855 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001477/0.3486, allocations: 0.9849 MB / 0.5045 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of Backend: time 2.1e-07/0.3486, allocations: 0 / 0.5045 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003638/0.3522, allocations: 1.707 MB / 0.5062 GB, free: 15.1 MB / 430.1 MB Notification: Performance of SimCode: time 0.00755/0.3598, allocations: 4.828 MB / 0.5109 GB, free: 10.22 MB / 430.1 MB Notification: Performance of Templates: time 0.2159/0.5757, allocations: 27.31 MB / 0.5376 GB, free: 105.1 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_Inverter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.122380587272346] Failed to read output from testmodel.py, exit status != 0: ['time', 'loadInertia.phi', 'loadInertia.w', 'smr.is[1]', 'smr.is[2]', 'smr.idq_rr[1]', 'smr.idq_rr[2]', 'smr.idq_sr[1]', 'smr.idq_sr[2]', 'vfController.x'] 0.5833976669237018 0.5925701210000001 0.33638200900000004 Calling exit ...