Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 112 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 187.8 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.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.1932/0.1932, allocations: 38.53 MB / 346.3 MB, free: 2.074 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.89 kB / 484.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4309/0.4329, allocations: 61.29 MB / 0.533 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav): time 0.009418/0.4423, allocations: 7.315 MB / 0.5402 GB, free: 156 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.4524, allocations: 5.146 MB / 0.5452 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.4537, allocations: 40.62 kB / 0.5452 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01689/0.4706, allocations: 6.586 MB / 0.5517 GB, free: 8.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00273/0.4733, allocations: 0.5143 MB / 0.5522 GB, free: 7.949 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.4756, allocations: 0.5028 MB / 0.5527 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005048/0.4806, allocations: 2.383 MB / 0.555 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00143/0.482, allocations: 0.7678 MB / 0.5557 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.4837, allocations: 0.6422 MB / 0.5564 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00138/0.4851, allocations: 0.763 MB / 0.5571 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002039/0.4853, allocations: 100 kB / 0.5572 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008395/0.4862, allocations: 267.7 kB / 0.5575 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006418/0.4868, allocations: 0.4987 MB / 0.5579 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008816/0.4877, allocations: 0.5792 MB / 0.5585 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002356/0.49, allocations: 1.545 MB / 0.56 GB, free: 432 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4901, allocations: 0 / 0.56 GB, free: 432 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4901, allocations: 0 / 0.56 GB, free: 432 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.836e-05/0.4901, allocations: 4 kB / 0.56 GB, free: 428 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.003542/0.4936, allocations: 1.415 MB / 0.5614 GB, free: 14.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.4937, allocations: 15.97 kB / 0.5614 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006966/0.4944, allocations: 156.1 kB / 0.5616 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001969/0.4963, allocations: 0.834 MB / 0.5624 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.299e-05/0.4964, allocations: 65.98 kB / 0.5624 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.4966, allocations: 83.98 kB / 0.5625 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/0.4991, allocations: 1.227 MB / 0.5637 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.4991, allocations: 3.953 kB / 0.5637 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.4992, allocations: 43.97 kB / 0.5638 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002563/0.4995, allocations: 89.89 kB / 0.5639 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.5014, allocations: 1.011 MB / 0.5648 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008728/0.5102, allocations: 4.747 MB / 0.5695 GB, free: 6.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.5113, allocations: 0.5344 MB / 0.57 GB, free: 5.859 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006444/0.5119, allocations: 331 kB / 0.5703 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.084e-05/0.512, allocations: 8.5 kB / 0.5703 GB, free: 5.523 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008612/0.5129, allocations: 448.7 kB / 0.5708 GB, free: 5.062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=62): time 2.554e-06/0.5129, allocations: 0 / 0.5708 GB, free: 5.062 MB / 414.1 MB Notification: Performance of matching and sorting (n=65): time 0.005284/0.5181, allocations: 2.364 MB / 0.5731 GB, free: 2.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.311e-05/0.5182, allocations: 111.5 kB / 0.5732 GB, free: 2.527 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.5194, allocations: 0.7585 MB / 0.5739 GB, free: 1.758 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.574e-05/0.5195, allocations: 37.7 kB / 0.5739 GB, free: 1.715 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/0.5199, allocations: 0.5038 MB / 0.5744 GB, free: 1.203 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/0.5202, allocations: 253.8 kB / 0.5747 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002993/0.5205, allocations: 186.5 kB / 0.5749 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002315/0.5207, allocations: 398.7 kB / 0.5752 GB, free: 376 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006446/0.5213, allocations: 373.8 kB / 0.5756 GB, free: 0 / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009192/0.5223, allocations: 0.6539 MB / 0.5762 GB, free: 15.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.5239, allocations: 1.053 MB / 0.5773 GB, free: 14.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.5239, allocations: 4 kB / 0.5773 GB, free: 14.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003387/0.5273, allocations: 1.54 MB / 0.5788 GB, free: 12.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.5273, allocations: 8 kB / 0.5788 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.211e-05/0.5273, allocations: 8 kB / 0.5788 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001708/0.529, allocations: 485.8 kB / 0.5792 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007008/0.5297, allocations: 167.7 kB / 0.5794 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.5411, allocations: 6.889 MB / 0.5861 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008304/0.5419, allocations: 48.03 kB / 0.5862 GB, free: 4.652 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.542, allocations: 47.98 kB / 0.5862 GB, free: 4.605 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 2 (system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * 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 {(6,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0007298/0.5428, allocations: 349.5 kB / 0.5866 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.5429, allocations: 91.39 kB / 0.5866 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002001/0.5449, allocations: 0.9615 MB / 0.5876 GB, free: 3.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.5449, allocations: 8 kB / 0.5876 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.5449, allocations: 0 / 0.5876 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.545, allocations: 3.984 kB / 0.5876 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00392/0.5489, allocations: 1.939 MB / 0.5895 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.5489, allocations: 4 kB / 0.5895 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007678/0.5497, allocations: 119.8 kB / 0.5896 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005865/0.5502, allocations: 166.5 kB / 0.5898 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.11e-05/0.5503, allocations: 19.98 kB / 0.5898 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004905/0.5552, allocations: 4.506 MB / 0.5942 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5552, allocations: 0 / 0.5942 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002556/0.5578, allocations: 1.386 MB / 0.5955 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004756/0.5582, allocations: 135.5 kB / 0.5957 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/0.5584, allocations: 24 kB / 0.5957 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005125/0.5589, allocations: 35.95 kB / 0.5957 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.5591, allocations: 60.27 kB / 0.5958 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.534e-05/0.5591, allocations: 23.98 kB / 0.5958 GB, free: 10.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008764/0.56, allocations: 0.5107 MB / 0.5963 GB, free: 9.801 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.56, allocations: 0 / 0.5963 GB, free: 9.801 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001203/0.5612, allocations: 263.9 kB / 0.5966 GB, free: 9.543 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.00168/0.5629, allocations: 419.2 kB / 0.597 GB, free: 9.273 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00355/0.5665, allocations: 1.287 MB / 0.5982 GB, free: 7.965 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.5665, allocations: 0 / 0.5982 GB, free: 7.965 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00205/0.5685, allocations: 0.7619 MB / 0.599 GB, free: 7.164 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/0.5703, allocations: 220.9 kB / 0.5992 GB, free: 6.949 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007717/0.5781, allocations: 2.713 MB / 0.6018 GB, free: 4.195 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001658/0.5797, allocations: 1.151 MB / 0.6029 GB, free: 3.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001299/0.581, allocations: 231.3 kB / 0.6032 GB, free: 2.789 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/0.5814, allocations: 67.42 kB / 0.6032 GB, free: 2.723 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5814, allocations: 0 / 0.6032 GB, free: 2.723 MB / 446.1 MB Notification: Performance of Templates: time 0.05484/0.6362, allocations: 15.61 MB / 0.6185 GB, free: 3.219 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.86683514341712] Failed to read output from testmodel.py, exit status != 0: 0.647853328846395 0.6769355060000001 0.181351848 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fd94708d7b0>