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.001326/0.001326, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001616/0.001616, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.1826/0.1826, allocations: 38.56 MB / 353.2 MB, free: 12.3 MB / 286.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.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.002373/0.002373, allocations: 67.89 kB / 493.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3528, allocations: 62.46 MB / 0.5432 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.00806/0.3608, allocations: 5.063 MB / 0.5481 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007468/0.3683, allocations: 3.638 MB / 0.5517 GB, free: 9.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007268/0.369, allocations: 22.75 kB / 0.5517 GB, free: 9.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01131/0.3803, allocations: 5.318 MB / 0.5569 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.3814, allocations: 326.5 kB / 0.5572 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006143/0.3821, allocations: 219.6 kB / 0.5574 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002375/0.3844, allocations: 1.629 MB / 0.559 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007455/0.3852, allocations: 0.53 MB / 0.5595 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005562/0.3857, allocations: 378.7 kB / 0.5599 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006042/0.3863, allocations: 418.3 kB / 0.5603 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.588e-05/0.3864, allocations: 56 kB / 0.5603 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001738/0.3866, allocations: 71.98 kB / 0.5604 GB, free: 2.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.3869, allocations: 251.3 kB / 0.5606 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002893/0.3872, allocations: 262.8 kB / 0.5609 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.3885, allocations: 0.8173 MB / 0.5617 GB, free: 1.195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3885, allocations: 4 kB / 0.5617 GB, free: 1.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3885, allocations: 0 / 0.5617 GB, free: 1.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.3885, allocations: 0 / 0.5617 GB, free: 1.191 MB / 398.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.001835/0.3903, allocations: 0.8202 MB / 0.5625 GB, free: 352 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.3904, allocations: 11.98 kB / 0.5625 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003041/0.3907, allocations: 76.52 kB / 0.5626 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.3918, allocations: 0.4954 MB / 0.5631 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.437e-05/0.3918, allocations: 33 kB / 0.5631 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.135e-05/0.3919, allocations: 47.98 kB / 0.5631 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.393, allocations: 0.6297 MB / 0.5637 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.393, allocations: 3.938 kB / 0.5637 GB, free: 14.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.858e-05/0.3931, allocations: 20 kB / 0.5638 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001353/0.3932, allocations: 48.95 kB / 0.5638 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008801/0.3941, allocations: 463.6 kB / 0.5643 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003168/0.3973, allocations: 2.232 MB / 0.5664 GB, free: 12.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000539/0.3978, allocations: 265.1 kB / 0.5667 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.398, allocations: 126.2 kB / 0.5668 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.3981, allocations: 4 kB / 0.5668 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.3981, allocations: 42.5 kB / 0.5669 GB, free: 11.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 2.054e-06/0.3981, allocations: 0 / 0.5669 GB, free: 11.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=32): time 0.003022/0.4011, allocations: 1.255 MB / 0.5681 GB, free: 10.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.302e-05/0.4012, allocations: 81.11 kB / 0.5682 GB, free: 10.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005409/0.4017, allocations: 381.5 kB / 0.5685 GB, free: 9.879 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.4018, allocations: 33.7 kB / 0.5686 GB, free: 9.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.402, allocations: 308 kB / 0.5688 GB, free: 9.531 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.4022, allocations: 123 kB / 0.569 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.4023, allocations: 74.09 kB / 0.569 GB, free: 9.332 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002242/0.4025, allocations: 362.8 kB / 0.5694 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003773/0.4029, allocations: 136.8 kB / 0.5695 GB, free: 8.836 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/0.4033, allocations: 271.8 kB / 0.5698 GB, free: 8.504 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008899/0.4042, allocations: 457.9 kB / 0.5702 GB, free: 7.992 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.4042, allocations: 4 kB / 0.5702 GB, free: 7.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001391/0.4056, allocations: 0.5924 MB / 0.5708 GB, free: 7.383 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.4057, allocations: 14.75 kB / 0.5708 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/0.4058, allocations: 11.88 kB / 0.5708 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004803/0.4062, allocations: 145.6 kB / 0.571 GB, free: 7.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.4066, allocations: 75.89 kB / 0.571 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003825/0.4104, allocations: 3.4 MB / 0.5743 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003138/0.4107, allocations: 19.98 kB / 0.5744 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/0.4108, allocations: 20 kB / 0.5744 GB, free: 3.492 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.0003602/0.4111, allocations: 229.7 kB / 0.5746 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.775e-05/0.4112, allocations: 43.75 kB / 0.5746 GB, free: 3.215 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.4122, allocations: 0.492 MB / 0.5751 GB, free: 2.711 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4122, allocations: 4 kB / 0.5751 GB, free: 2.707 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0007511/0.413, allocations: 409.3 kB / 0.5755 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.413, allocations: 7.969 kB / 0.5755 GB, free: 2.281 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/0.4145, allocations: 0.8607 MB / 0.5764 GB, free: 1.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.4145, allocations: 7.984 kB / 0.5764 GB, free: 1.363 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.4147, allocations: 31.98 kB / 0.5764 GB, free: 1.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00029/0.415, allocations: 88.77 kB / 0.5765 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.4151, allocations: 12.09 kB / 0.5765 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002245/0.4173, allocations: 1.89 MB / 0.5783 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4173, allocations: 0 / 0.5783 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.4184, allocations: 0.6436 MB / 0.579 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.4186, allocations: 59.73 kB / 0.579 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.934e-05/0.4186, allocations: 11.94 kB / 0.579 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001946/0.4188, allocations: 11.98 kB / 0.5791 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.4189, allocations: 23.89 kB / 0.5791 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.4189, allocations: 12 kB / 0.5791 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003718/0.4193, allocations: 275.1 kB / 0.5794 GB, free: 14.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4193, allocations: 4.125 kB / 0.5794 GB, free: 14.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006091/0.4199, allocations: 120 kB / 0.5795 GB, free: 14.06 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.0001569/0.42, allocations: 99.19 kB / 0.5796 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.4212, allocations: 0.6029 MB / 0.5802 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4212, allocations: 0 / 0.5802 GB, free: 13.32 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004759/0.4216, allocations: 290.4 kB / 0.5804 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006189/0.4223, allocations: 106.2 kB / 0.5805 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.4244, allocations: 1.184 MB / 0.5817 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.4247, allocations: 319.7 kB / 0.582 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.401e-05/0.4248, allocations: 31.44 kB / 0.582 GB, free: 11.33 MB / 430.1 MB Notification: Performance of SimCode: time 9.91e-07/0.4248, allocations: 0 / 0.582 GB, free: 11.33 MB / 430.1 MB Notification: Performance of Templates: time 0.01512/0.44, allocations: 9.981 MB / 0.5918 GB, free: 1.348 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: 8.806321430020034] Failed to read output from testmodel.py, exit status != 0: 0.4496673750691116 0.473145291 0.07993159000000001 Calling exit ...