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.0009573/0.0009573, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 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.0009499/0.0009499, allocations: 165.9 kB / 24.99 MB, free: 8.336 MB / 18.57 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.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.3054/0.3054, allocations: 29.42 MB / 291.2 MB, free: 2.496 MB / 266.7 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: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 4 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.792e-05, allocations: 2.312 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic): time 0.005409/0.005437, allocations: 5.391 MB / 375 MB, free: 5.891 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004751/0.01019, allocations: 3.798 MB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000403/0.01059, allocations: 23.81 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006852/0.01744, allocations: 5.435 MB / 384.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007397/0.01818, allocations: 338 kB / 384.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000485/0.01867, allocations: 223.5 kB / 384.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.02021, allocations: 1.672 MB / 386.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005232/0.02073, allocations: 0.5302 MB / 387 MB, free: 9.855 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003995/0.02113, allocations: 0.5104 MB / 387.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003806/0.02151, allocations: 402.8 kB / 387.9 MB, free: 8.949 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.296e-05/0.02157, allocations: 56 kB / 388 MB, free: 8.895 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.02169, allocations: 75.92 kB / 388 MB, free: 8.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001721/0.02186, allocations: 275.3 kB / 388.3 MB, free: 8.551 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.02202, allocations: 215.5 kB / 388.5 MB, free: 8.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005847/0.0226, allocations: 0.5022 MB / 389 MB, free: 7.836 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.02261, allocations: 0 / 389 MB, free: 7.836 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.02261, allocations: 0 / 389 MB, free: 7.836 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.02261, allocations: 0 / 389 MB, free: 7.836 MB / 362.7 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.0009985/0.02361, allocations: 0.9216 MB / 389.9 MB, free: 6.875 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.02365, allocations: 11.98 kB / 390 MB, free: 6.863 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002489/0.0239, allocations: 112.5 kB / 390.1 MB, free: 6.754 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005998/0.0245, allocations: 0.5097 MB / 390.6 MB, free: 6.219 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.02453, allocations: 33.38 kB / 390.6 MB, free: 6.184 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.02458, allocations: 55.89 kB / 390.7 MB, free: 6.129 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004822/0.02507, allocations: 453.2 kB / 391.1 MB, free: 5.637 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.02508, allocations: 3.938 kB / 391.1 MB, free: 5.633 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.02512, allocations: 16 kB / 391.1 MB, free: 5.617 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.983e-05/0.02519, allocations: 52.95 kB / 391.2 MB, free: 5.566 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.02549, allocations: 201.7 kB / 391.4 MB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.02742, allocations: 2.515 MB / 393.9 MB, free: 2.723 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.02768, allocations: 190.1 kB / 394.1 MB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.673e-05/0.02778, allocations: 71.41 kB / 394.1 MB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.0278, allocations: 8 kB / 394.2 MB, free: 2.426 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.02782, allocations: 37.39 kB / 394.2 MB, free: 2.379 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.154e-06/0.02783, allocations: 0 / 394.2 MB, free: 2.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.00154/0.02937, allocations: 0.9404 MB / 395.1 MB, free: 1.391 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.0294, allocations: 85.09 kB / 395.2 MB, free: 1.289 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002773/0.02968, allocations: 410.6 kB / 395.6 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.0297, allocations: 33.7 kB / 395.7 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001621/0.02987, allocations: 366.8 kB / 396 MB, free: 476 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.309e-05/0.02993, allocations: 111 kB / 396.1 MB, free: 364 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.205e-05/0.03001, allocations: 87.81 kB / 396.2 MB, free: 268 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.03017, allocations: 0.5352 MB / 396.7 MB, free: 15.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.824e-05/0.03026, allocations: 48.97 kB / 396.8 MB, free: 15.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.03044, allocations: 266.3 kB / 397 MB, free: 15.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/0.03074, allocations: 357.2 kB / 397.4 MB, free: 14.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.03075, allocations: 3.938 kB / 397.4 MB, free: 14.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005498/0.0313, allocations: 452.8 kB / 397.8 MB, free: 14.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.03132, allocations: 8 kB / 397.8 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.03133, allocations: 4 kB / 397.9 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003409/0.03167, allocations: 123.3 kB / 398 MB, free: 14.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.03186, allocations: 79.83 kB / 398.1 MB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.03407, allocations: 3.824 MB / 401.9 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.03422, allocations: 19.98 kB / 401.9 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.03424, allocations: 12 kB / 401.9 MB, free: 10.09 MB / 378.7 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.0001626/0.03441, allocations: 192.3 kB / 402.1 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-05/0.03447, allocations: 55.72 kB / 402.1 MB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004996/0.03497, allocations: 345.4 kB / 402.5 MB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.03497, allocations: 4 kB / 402.5 MB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003517/0.03532, allocations: 281.5 kB / 402.8 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.03533, allocations: 0 / 402.8 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008374/0.03617, allocations: 0.7811 MB / 403.5 MB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.03617, allocations: 4 kB / 403.5 MB, free: 8.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.03629, allocations: 43.91 kB / 403.6 MB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001803/0.03647, allocations: 83.95 kB / 403.7 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.03649, allocations: 8 kB / 403.7 MB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.03761, allocations: 2.01 MB / 405.7 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.03761, allocations: 0 / 405.7 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.03809, allocations: 0.4973 MB / 406.2 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.736e-05/0.03817, allocations: 59.69 kB / 406.2 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.0382, allocations: 8 kB / 406.3 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.512e-05/0.03829, allocations: 12.06 kB / 406.3 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.03834, allocations: 27.89 kB / 406.3 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.03836, allocations: 8 kB / 406.3 MB, free: 5.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001859/0.03854, allocations: 275 kB / 406.6 MB, free: 5.164 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03854, allocations: 0 / 406.6 MB, free: 5.164 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003827/0.03893, allocations: 116 kB / 406.7 MB, free: 5.051 MB / 378.7 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.0001075/0.03903, allocations: 99.25 kB / 406.8 MB, free: 4.941 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007654/0.0398, allocations: 0.6165 MB / 407.4 MB, free: 4.289 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.0398, allocations: 0 / 407.4 MB, free: 4.289 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.04004, allocations: 318.4 kB / 407.7 MB, free: 3.957 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.04046, allocations: 81.61 kB / 407.8 MB, free: 3.879 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.04224, allocations: 1.02 MB / 408.8 MB, free: 2.812 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.04236, allocations: 169.2 kB / 409 MB, free: 2.625 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001498/0.04251, allocations: 59.41 kB / 409 MB, free: 2.566 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.885e-05/0.04257, allocations: 32.5 kB / 409.1 MB, free: 2.531 MB / 378.7 MB Notification: Performance of SimCode: time 1.173e-06/0.04257, allocations: 4 kB / 409.1 MB, free: 2.527 MB / 378.7 MB Notification: Performance of Templates: time 0.008259/0.05083, allocations: 5.245 MB / 414.3 MB, free: 13.39 MB / 394.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMcharacteristic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2694820081815124]