Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.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.002074/0.002074, allocations: 74.2 kB / 20.49 MB, free: 1.246 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.00282/0.00282, allocations: 164.7 kB / 23.75 MB, free: 4.223 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.519/1.519, allocations: 177.2 MB / 204.1 MB, free: 9.285 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.2998/0.2998, allocations: 29.43 MB / 289.9 MB, free: 3.402 MB / 270.1 MB " [Timeout remaining time 179] 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.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic") [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.002136/0.002136, allocations: 63.91 kB / 430.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3397, allocations: 62.46 MB / 492.9 MB, free: 1.992 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.007751/0.3475, allocations: 5.052 MB / 497.9 MB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006257/0.3537, allocations: 3.65 MB / 0.4898 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003334/0.354, allocations: 23.81 kB / 0.4899 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01143/0.3655, allocations: 5.349 MB / 0.4951 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.3666, allocations: 330.5 kB / 0.4954 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006001/0.3672, allocations: 215.7 kB / 0.4956 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002499/0.3697, allocations: 1.637 MB / 0.4972 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008973/0.3706, allocations: 0.5184 MB / 0.4977 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009454/0.3715, allocations: 0.5103 MB / 0.4982 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008675/0.3724, allocations: 426.3 kB / 0.4986 GB, free: 240 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002454/0.3726, allocations: 56 kB / 0.4987 GB, free: 184 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.3729, allocations: 72 kB / 0.4987 GB, free: 112 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003585/0.3733, allocations: 255.3 kB / 0.499 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004178/0.3737, allocations: 262.8 kB / 0.4992 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.3747, allocations: 0.8134 MB / 0.5 GB, free: 14.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3747, allocations: 3.984 kB / 0.5 GB, free: 14.78 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3747, allocations: 0 / 0.5 GB, free: 14.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.248e-05/0.3748, allocations: 0 / 0.5 GB, free: 14.78 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00167/0.3764, allocations: 0.8181 MB / 0.5008 GB, free: 13.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.3765, allocations: 11.98 kB / 0.5008 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.3768, allocations: 76.5 kB / 0.5009 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.3778, allocations: 0.4916 MB / 0.5014 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.3778, allocations: 33 kB / 0.5014 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-05/0.3779, allocations: 47.98 kB / 0.5015 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009942/0.3789, allocations: 0.6374 MB / 0.5021 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.3789, allocations: 4 kB / 0.5021 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.656e-05/0.379, allocations: 16 kB / 0.5021 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000123/0.3791, allocations: 44.97 kB / 0.5021 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007801/0.3799, allocations: 467.6 kB / 0.5026 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00314/0.383, allocations: 2.234 MB / 0.5048 GB, free: 9.707 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.3835, allocations: 264.3 kB / 0.505 GB, free: 9.434 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.3837, allocations: 129.7 kB / 0.5052 GB, free: 9.301 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.3837, allocations: 7.938 kB / 0.5052 GB, free: 9.293 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.3838, allocations: 38.55 kB / 0.5052 GB, free: 9.246 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.804e-06/0.3838, allocations: 3.938 kB / 0.5052 GB, free: 9.242 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.002812/0.3866, allocations: 1.255 MB / 0.5064 GB, free: 7.945 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.3867, allocations: 81.11 kB / 0.5065 GB, free: 7.848 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004661/0.3871, allocations: 385.5 kB / 0.5069 GB, free: 7.461 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.3872, allocations: 29.7 kB / 0.5069 GB, free: 7.426 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.3874, allocations: 308.1 kB / 0.5072 GB, free: 7.117 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.3875, allocations: 119 kB / 0.5073 GB, free: 7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.3877, allocations: 82.14 kB / 0.5074 GB, free: 6.914 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.3878, allocations: 346.8 kB / 0.5077 GB, free: 6.566 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.388, allocations: 132.9 kB / 0.5078 GB, free: 6.438 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.3884, allocations: 282.8 kB / 0.5081 GB, free: 6.102 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006103/0.389, allocations: 458 kB / 0.5085 GB, free: 5.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.389, allocations: 0 / 0.5085 GB, free: 5.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001071/0.3901, allocations: 0.5965 MB / 0.5091 GB, free: 4.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.3901, allocations: 4 kB / 0.5091 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.3901, allocations: 12.06 kB / 0.5091 GB, free: 4.965 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004407/0.3906, allocations: 141.6 kB / 0.5093 GB, free: 4.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.3909, allocations: 71.84 kB / 0.5093 GB, free: 4.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003573/0.3944, allocations: 3.412 MB / 0.5127 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.3946, allocations: 15.94 kB / 0.5127 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/0.3947, allocations: 20 kB / 0.5127 GB, free: 1.094 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * 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): 2 systems {(2,6,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00029/0.395, allocations: 241.7 kB / 0.5129 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/0.395, allocations: 35.77 kB / 0.513 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009707/0.396, allocations: 0.4958 MB / 0.5135 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.396, allocations: 4 kB / 0.5135 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007429/0.3968, allocations: 405.2 kB / 0.5139 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.3968, allocations: 4 kB / 0.5139 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.3982, allocations: 0.8568 MB / 0.5147 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3982, allocations: 7.938 kB / 0.5147 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.3984, allocations: 39.97 kB / 0.5147 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002669/0.3987, allocations: 92.77 kB / 0.5148 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.3987, allocations: 7.938 kB / 0.5148 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/0.4008, allocations: 1.882 MB / 0.5167 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.4008, allocations: 3.984 kB / 0.5167 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009757/0.4018, allocations: 0.6476 MB / 0.5173 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.4019, allocations: 59.69 kB / 0.5174 GB, free: 12.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.907e-05/0.402, allocations: 8 kB / 0.5174 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.4022, allocations: 19.88 kB / 0.5174 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.4022, allocations: 19.95 kB / 0.5174 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.561e-05/0.4022, allocations: 12 kB / 0.5174 GB, free: 12.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003059/0.4025, allocations: 275.1 kB / 0.5177 GB, free: 11.78 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4025, allocations: 0 / 0.5177 GB, free: 11.78 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005125/0.403, allocations: 120 kB / 0.5178 GB, free: 11.66 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (asm.rotor.phi,asm.rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001214/0.4032, allocations: 107.2 kB / 0.5179 GB, free: 11.55 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.4042, allocations: 0.5954 MB / 0.5185 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.4042, allocations: 448 / 0.5185 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004828/0.4047, allocations: 294.6 kB / 0.5188 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007861/0.4055, allocations: 89.17 kB / 0.5189 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.4076, allocations: 1.143 MB / 0.52 GB, free: 9.363 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.4079, allocations: 315.9 kB / 0.5203 GB, free: 9.027 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002069/0.4081, allocations: 71.41 kB / 0.5203 GB, free: 8.953 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.542e-05/0.4082, allocations: 28.5 kB / 0.5204 GB, free: 8.926 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4082, allocations: 3.938 kB / 0.5204 GB, free: 8.922 MB / 430.1 MB Notification: Performance of Templates: time 0.01118/0.4194, allocations: 5.197 MB / 0.5254 GB, free: 3.812 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.320777600631118] Failed to read output from testmodel.py, exit status != 0: 0.42911893129348755 0.443967234 0.06595067 Calling exit ...