Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.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.001808/0.001808, allocations: 78.42 kB / 20.49 MB, free: 1.387 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.001649/0.001649, allocations: 164.3 kB / 23.74 MB, free: 4.57 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.489/1.489, allocations: 177.2 MB / 204.1 MB, free: 9.316 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1841/0.1841, allocations: 29.42 MB / 289.9 MB, free: 3.422 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) 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(PowerSystems.Examples.AC3ph.Drives.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002139/0.002139, allocations: 63.91 kB / 430.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2975, allocations: 62.45 MB / 492.9 MB, free: 1.984 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM): time 0.009896/0.3074, allocations: 7.059 MB / 499.9 MB, free: 10.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008578/0.3159, allocations: 4.981 MB / 0.4931 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000591/0.3165, allocations: 35.69 kB / 0.4931 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0129/0.3294, allocations: 6.538 MB / 0.4995 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002601/0.332, allocations: 0.7468 MB / 0.5002 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.3338, allocations: 0.5214 MB / 0.5007 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004469/0.3383, allocations: 2.787 MB / 0.5035 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/0.3399, allocations: 1.139 MB / 0.5046 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001794/0.3417, allocations: 1.106 MB / 0.5057 GB, free: 8.965 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.3432, allocations: 0.9694 MB / 0.5066 GB, free: 7.992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002127/0.3434, allocations: 148 kB / 0.5068 GB, free: 7.848 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.3447, allocations: 0.6944 MB / 0.5074 GB, free: 7.152 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007258/0.3454, allocations: 0.674 MB / 0.5081 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007755/0.3462, allocations: 0.6146 MB / 0.5087 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002756/0.3489, allocations: 2.289 MB / 0.5109 GB, free: 3.562 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3489, allocations: 3.938 kB / 0.5109 GB, free: 3.559 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.349, allocations: 0 / 0.5109 GB, free: 3.559 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.217e-05/0.349, allocations: 0 / 0.5109 GB, free: 3.559 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.00418/0.3532, allocations: 1.93 MB / 0.5128 GB, free: 1.566 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3532, allocations: 11.98 kB / 0.5128 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008539/0.354, allocations: 219.9 kB / 0.513 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.3561, allocations: 0.9859 MB / 0.514 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003347/0.3565, allocations: 341.3 kB / 0.5143 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002616/0.3567, allocations: 108 kB / 0.5144 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003603/0.3603, allocations: 1.888 MB / 0.5163 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.898e-05/0.3604, allocations: 7.953 kB / 0.5163 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/0.3605, allocations: 39.98 kB / 0.5163 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003665/0.3609, allocations: 129.8 kB / 0.5164 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00334/0.3642, allocations: 1.593 MB / 0.518 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009559/0.3738, allocations: 5.212 MB / 0.5231 GB, free: 6.734 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002659/0.3764, allocations: 1.043 MB / 0.5241 GB, free: 5.676 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.378, allocations: 0.676 MB / 0.5248 GB, free: 4.996 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.721e-05/0.3781, allocations: 17 kB / 0.5248 GB, free: 4.977 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001954/0.38, allocations: 0.9767 MB / 0.5257 GB, free: 3.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=116): time 3.366e-06/0.38, allocations: 4 kB / 0.5257 GB, free: 3.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=119): time 0.01048/0.3905, allocations: 4.299 MB / 0.5299 GB, free: 15.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.3906, allocations: 135.7 kB / 0.5301 GB, free: 15.49 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.3916, allocations: 0.7034 MB / 0.5308 GB, free: 14.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.3917, allocations: 65.69 kB / 0.5308 GB, free: 14.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005238/0.3923, allocations: 0.536 MB / 0.5313 GB, free: 14.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004314/0.3927, allocations: 416.5 kB / 0.5317 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004529/0.3932, allocations: 254.8 kB / 0.532 GB, free: 13.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000252/0.3934, allocations: 414.7 kB / 0.5324 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/0.3946, allocations: 0.735 MB / 0.5331 GB, free: 12.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.396, allocations: 1.042 MB / 0.5341 GB, free: 11.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002514/0.3986, allocations: 1.674 MB / 0.5357 GB, free: 9.402 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.3986, allocations: 0 / 0.5357 GB, free: 9.402 MB / 446.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004472/0.403, allocations: 2.275 MB / 0.538 GB, free: 7.102 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.807e-05/0.4031, allocations: 61.69 kB / 0.538 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.4032, allocations: 8 kB / 0.538 GB, free: 7.027 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001397/0.4045, allocations: 417.5 kB / 0.5384 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008641/0.4054, allocations: 215.6 kB / 0.5386 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008867/0.4143, allocations: 5.928 MB / 0.5444 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.4154, allocations: 95.86 kB / 0.5445 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/0.4155, allocations: 87.94 kB / 0.5446 GB, free: 92 kB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 29 (system.initime,inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 115 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0009064/0.4165, allocations: 461.3 kB / 0.545 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00029/0.4167, allocations: 107.3 kB / 0.5451 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/0.421, allocations: 1.78 MB / 0.5469 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.199e-05/0.4211, allocations: 31.94 kB / 0.5469 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4211, allocations: 4 kB / 0.5469 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/0.4211, allocations: 7.969 kB / 0.5469 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006662/0.4278, allocations: 2.97 MB / 0.5498 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.4278, allocations: 0 / 0.5498 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009944/0.4288, allocations: 171.7 kB / 0.55 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000557/0.4293, allocations: 162.5 kB / 0.5501 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.4295, allocations: 43.89 kB / 0.5502 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004871/0.4343, allocations: 4.422 MB / 0.5545 GB, free: 5.547 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4343, allocations: 0 / 0.5545 GB, free: 5.547 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007007/0.4413, allocations: 2.727 MB / 0.5572 GB, free: 2.785 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007523/0.4421, allocations: 235.3 kB / 0.5574 GB, free: 2.555 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003961/0.4425, allocations: 87.92 kB / 0.5575 GB, free: 2.469 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.4436, allocations: 111.8 kB / 0.5576 GB, free: 2.359 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002826/0.4439, allocations: 84.83 kB / 0.5577 GB, free: 2.277 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/0.444, allocations: 51.84 kB / 0.5577 GB, free: 2.227 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008271/0.4449, allocations: 479 kB / 0.5582 GB, free: 1.758 MB / 462.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4449, allocations: 0 / 0.5582 GB, free: 1.758 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001597/0.4464, allocations: 375.8 kB / 0.5585 GB, free: 1.391 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 13 (power.pav[1],power.pav[2],power.pav[3],asm.rotor.phi,asm.rotor.w,asm.motor.i[3],asm.motor.psi_s[1],asm.motor.psi_s[2],asm.motor.psi_rd[1],asm.motor.psi_rd[2],asm.motor.psi_rq[1],asm.motor.psi_rq[2],tabLoad.s) * Number of discrete variables: 17 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3],system.initime) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 79 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00218/0.4486, allocations: 0.5895 MB / 0.5591 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004665/0.4533, allocations: 2.157 MB / 0.5612 GB, free: 14.79 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.4533, allocations: 0 / 0.5612 GB, free: 14.79 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002622/0.4559, allocations: 1.167 MB / 0.5623 GB, free: 13.58 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.4573, allocations: 202.1 kB / 0.5625 GB, free: 13.39 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007276/0.4645, allocations: 3.438 MB / 0.5659 GB, free: 9.914 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.4656, allocations: 0.6862 MB / 0.5666 GB, free: 9.195 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009819/0.4666, allocations: 283.7 kB / 0.5668 GB, free: 8.914 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003783/0.467, allocations: 88.47 kB / 0.5669 GB, free: 8.824 MB / 478.1 MB Notification: Performance of SimCode: time 9.82e-07/0.467, allocations: 0 / 0.5669 GB, free: 8.824 MB / 478.1 MB Notification: Performance of Templates: time 0.03632/0.5033, allocations: 17.89 MB / 0.5844 GB, free: 7.121 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.66008846461773] Failed to read output from testmodel.py, exit status != 0: 0.5133367516100407 0.5285271690000001 0.17631475300000002 Calling exit ...