Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.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.001538/0.001538, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001147/0.001147, allocations: 170.3 kB / 24.91 MB, free: 8.766 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.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.461 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.2407/0.2407, allocations: 29.42 MB / 291.2 MB, free: 2.414 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.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 316.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.508e-05, allocations: 3.188 kB / 316.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.01079/0.01082, allocations: 8.442 MB / 325.3 MB, free: 7.418 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007073/0.01789, allocations: 3.896 MB / 329.2 MB, free: 3.512 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.019, allocations: 47.62 kB / 329.3 MB, free: 3.465 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.02035, allocations: 397.4 kB / 329.7 MB, free: 3.074 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002499/0.02284, allocations: 0.9556 MB / 330.6 MB, free: 2.113 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001704/0.02455, allocations: 0.6974 MB / 331.3 MB, free: 1.414 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0031/0.02765, allocations: 2.111 MB / 333.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.02916, allocations: 0.9793 MB / 334.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/0.03134, allocations: 1.278 MB / 335.7 MB, free: 13 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.03293, allocations: 0.8883 MB / 336.6 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002397/0.03317, allocations: 132 kB / 336.7 MB, free: 11.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001011/0.03418, allocations: 0.5186 MB / 337.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006754/0.03486, allocations: 0.756 MB / 338 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007717/0.03563, allocations: 0.5496 MB / 338.5 MB, free: 10.15 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.038, allocations: 1.464 MB / 340 MB, free: 8.684 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.038, allocations: 0 / 340 MB, free: 8.684 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.038, allocations: 0 / 340 MB, free: 8.684 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.927e-05/0.03806, allocations: 0 / 340 MB, free: 8.684 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.003061/0.04112, allocations: 1.64 MB / 341.6 MB, free: 7.008 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.04116, allocations: 11.98 kB / 341.7 MB, free: 6.996 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/0.04285, allocations: 360.5 kB / 342 MB, free: 6.645 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.04443, allocations: 0.7844 MB / 342.8 MB, free: 5.832 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.098e-05/0.04451, allocations: 98.72 kB / 342.9 MB, free: 5.734 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003187/0.04483, allocations: 148.5 kB / 343 MB, free: 5.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.04645, allocations: 1.037 MB / 344.1 MB, free: 4.465 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.622e-05/0.04649, allocations: 11.88 kB / 344.1 MB, free: 4.453 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.0466, allocations: 48 kB / 344.1 MB, free: 4.406 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002335/0.04683, allocations: 114.4 kB / 344.2 MB, free: 4.293 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00093/0.04776, allocations: 402.2 kB / 344.6 MB, free: 3.883 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006508/0.05427, allocations: 4.06 MB / 348.7 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006731/0.05494, allocations: 373 kB / 349.1 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002729/0.05522, allocations: 167.3 kB / 349.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.918e-05/0.05527, allocations: 16.66 kB / 349.2 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.0553, allocations: 43.22 kB / 349.3 MB, free: 14.98 MB / 330.7 MB Notification: Performance of pre-optimization done (n=73): time 3.326e-06/0.05531, allocations: 0 / 349.3 MB, free: 14.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=83): time 0.00539/0.0607, allocations: 1.834 MB / 351.1 MB, free: 13.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.772e-05/0.06079, allocations: 162.9 kB / 351.3 MB, free: 12.9 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000704/0.06149, allocations: 0.6167 MB / 351.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.984e-05/0.06156, allocations: 41.7 kB / 351.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003776/0.06194, allocations: 0.5642 MB / 352.5 MB, free: 11.65 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002906/0.06223, allocations: 309.3 kB / 352.8 MB, free: 11.35 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003037/0.06253, allocations: 182.8 kB / 353 MB, free: 11.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.06275, allocations: 418.5 kB / 353.4 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007299/0.06348, allocations: 122 kB / 353.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005151/0.06399, allocations: 455.8 kB / 353.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008984/0.06489, allocations: 0.6073 MB / 354.6 MB, free: 9.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.0649, allocations: 7.938 kB / 354.6 MB, free: 9.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001982/0.06688, allocations: 0.8885 MB / 355.4 MB, free: 8.398 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.06691, allocations: 8 kB / 355.5 MB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001347/0.06826, allocations: 0.5818 MB / 356 MB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/0.06967, allocations: 487.7 kB / 356.5 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006459/0.07031, allocations: 319.5 kB / 356.8 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006749/0.07706, allocations: 9.871 MB / 366.7 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005387/0.0776, allocations: 39.94 kB / 366.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/0.07765, allocations: 40.19 kB / 366.8 MB, free: 12.38 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004196/0.07807, allocations: 209.5 kB / 367 MB, free: 12.17 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005507/0.07862, allocations: 455.8 kB / 367.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004974/0.07911, allocations: 0.6084 MB / 368 MB, free: 10.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.051e-06/0.07912, allocations: 4 kB / 368 MB, free: 10.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.001201/0.08032, allocations: 0.8809 MB / 368.9 MB, free: 9.961 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.08033, allocations: 18.69 kB / 368.9 MB, free: 9.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008322/0.08117, allocations: 0.5779 MB / 369.5 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/0.08219, allocations: 481.2 kB / 370 MB, free: 8.855 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.0826, allocations: 215.6 kB / 370.2 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004976/0.08758, allocations: 7.417 MB / 377.6 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/0.08804, allocations: 35.98 kB / 377.6 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.711e-05/0.08809, allocations: 36 kB / 377.7 MB, free: 0.6836 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (107): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002229/0.08831, allocations: 251.9 kB / 377.9 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.08844, allocations: 83.86 kB / 378 MB, free: 356 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008898/0.08933, allocations: 0.648 MB / 378.7 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.08933, allocations: 19.94 kB / 378.7 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.08934, allocations: 4 kB / 378.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.08935, allocations: 3.984 kB / 378.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/0.0914, allocations: 1.528 MB / 380.2 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.0914, allocations: 4 kB / 380.2 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003231/0.09173, allocations: 143.7 kB / 380.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005987/0.09232, allocations: 305 kB / 380.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.629e-05/0.09238, allocations: 27.97 kB / 380.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004155/0.09653, allocations: 7.258 MB / 387.9 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.09654, allocations: 8.031 kB / 388 MB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.09802, allocations: 0.9659 MB / 388.9 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002986/0.09832, allocations: 139.3 kB / 389.1 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-05/0.09841, allocations: 35.88 kB / 389.1 MB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.09866, allocations: 20 kB / 389.1 MB, free: 4.555 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.0988, allocations: 80.39 kB / 389.2 MB, free: 4.477 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.09883, allocations: 16.11 kB / 389.2 MB, free: 4.461 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002635/0.09909, allocations: 296.4 kB / 389.5 MB, free: 4.172 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09909, allocations: 0 / 389.5 MB, free: 4.172 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001576/0.1007, allocations: 0.5977 MB / 390.1 MB, free: 3.574 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 8 (turboGen.generator.i_s[1],turboGen.generator.i_s[2],turboGen.generator.i_s[3],turboGen.rotor.phi,turboGen.rotor.w,RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * 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 (66): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001506/0.1008, allocations: 112.3 kB / 390.2 MB, free: 3.457 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002508/0.1033, allocations: 2.359 MB / 392.6 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.161e-05/0.1033, allocations: 16.75 kB / 392.6 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007877/0.1041, allocations: 0.91 MB / 393.5 MB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007597/0.1049, allocations: 252.5 kB / 393.7 MB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.1085, allocations: 2.398 MB / 396.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.1088, allocations: 381.3 kB / 396.5 MB, free: 12.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003872/0.1092, allocations: 143.7 kB / 396.6 MB, free: 12.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/0.1095, allocations: 229.2 kB / 396.9 MB, free: 12.49 MB / 378.7 MB Notification: Performance of SimCode: time 1.663e-06/0.1095, allocations: 0 / 396.9 MB, free: 12.49 MB / 378.7 MB Notification: Performance of Templates: time 0.02784/0.1374, allocations: 22.33 MB / 419.2 MB, free: 6.426 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.404909983277321]