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.0008736/0.0008736, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00523/0.00523, allocations: 163.3 kB / 24.7 MB, free: 8.906 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 0.8752/0.8752, allocations: 177.1 MB / 205 MB, free: 5.723 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.208/0.208, allocations: 29.41 MB / 290.8 MB, free: 2.41 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.973e-06/1.973e-06, allocations: 3.938 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.12e-05/3.317e-05, allocations: 6.219 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.01058/0.01062, allocations: 9.626 MB / 441.1 MB, free: 3.398 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1748/0.1855, allocations: 3.674 MB / 444.8 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008526/0.1863, allocations: 50.12 kB / 444.8 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.1878, allocations: 1.138 MB / 446 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001628/0.1894, allocations: 0.9885 MB / 447 MB, free: 43.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009844/0.1904, allocations: 0.6897 MB / 447.6 MB, free: 43.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001586/0.192, allocations: 2.128 MB / 449.8 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008058/0.1928, allocations: 0.9205 MB / 450.7 MB, free: 43.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009925/0.1938, allocations: 1.191 MB / 451.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007789/0.1945, allocations: 0.9293 MB / 452.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.1947, allocations: 139 kB / 453 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.1957, allocations: 0.6295 MB / 453.6 MB, free: 43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00051/0.1962, allocations: 0.7503 MB / 454.3 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005585/0.1968, allocations: 0.5671 MB / 454.9 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002115/0.1989, allocations: 2.362 MB / 457.3 MB, free: 41.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1989, allocations: 4 kB / 457.3 MB, free: 41.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1989, allocations: 0 / 457.3 MB, free: 41.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.275e-05/0.1989, allocations: 0 / 457.3 MB, free: 41.8 MB / 410.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.002046/0.201, allocations: 1.76 MB / 459 MB, free: 40.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.201, allocations: 13.55 kB / 459 MB, free: 40.74 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000954/0.202, allocations: 338.5 kB / 459.4 MB, free: 40.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.2031, allocations: 1.003 MB / 460.4 MB, free: 40.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.2032, allocations: 93.66 kB / 460.5 MB, free: 40.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.2034, allocations: 156.2 kB / 460.6 MB, free: 40.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.2048, allocations: 1.739 MB / 462.4 MB, free: 39.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.995e-05/0.2048, allocations: 3.094 kB / 462.4 MB, free: 39.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.979e-05/0.2049, allocations: 51.27 kB / 462.4 MB, free: 39.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001447/0.2051, allocations: 111.8 kB / 462.5 MB, free: 39.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.2064, allocations: 1.411 MB / 463.9 MB, free: 38.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004014/0.2104, allocations: 5.022 MB / 469 MB, free: 35.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006749/0.211, allocations: 0.6603 MB / 469.6 MB, free: 35.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003596/0.2114, allocations: 436.4 kB / 470 MB, free: 35.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.2114, allocations: 14.67 kB / 470.1 MB, free: 35.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.2115, allocations: 46.72 kB / 470.1 MB, free: 35.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=73): time 2.295e-06/0.2115, allocations: 0 / 470.1 MB, free: 35.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=83): time 0.004622/0.2161, allocations: 3.957 MB / 474.1 MB, free: 33.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.2161, allocations: 167.9 kB / 474.2 MB, free: 33.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005005/0.2166, allocations: 0.7373 MB / 475 MB, free: 33.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.2167, allocations: 42.3 kB / 475 MB, free: 33.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.2169, allocations: 0.6597 MB / 475.7 MB, free: 32.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.217, allocations: 307.8 kB / 476 MB, free: 32.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.2171, allocations: 204.2 kB / 476.2 MB, free: 32.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.983e-05/0.2172, allocations: 401.6 kB / 476.5 MB, free: 31.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/0.2176, allocations: 472.1 kB / 477 MB, free: 31.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005065/0.2181, allocations: 0.7974 MB / 477.8 MB, free: 31.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009898/0.2191, allocations: 1.265 MB / 479.1 MB, free: 30.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.2191, allocations: 3.312 kB / 479.1 MB, free: 30.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002137/0.2213, allocations: 1.81 MB / 480.9 MB, free: 29.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.2213, allocations: 8.031 kB / 480.9 MB, free: 29.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001836/0.2231, allocations: 1.413 MB / 482.3 MB, free: 29.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.2243, allocations: 0.5691 MB / 482.9 MB, free: 29.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008332/0.2251, allocations: 387 kB / 483.3 MB, free: 28.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007933/0.233, allocations: 13.16 MB / 496.4 MB, free: 18.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007809/0.2338, allocations: 61.88 kB / 496.5 MB, free: 18.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.516e-05/0.2339, allocations: 43.78 kB / 496.5 MB, free: 18.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009842/0.2349, allocations: 0.7732 MB / 497.3 MB, free: 18.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005409/0.2354, allocations: 0.7688 MB / 498.1 MB, free: 17.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001027/0.2364, allocations: 1.224 MB / 499.3 MB, free: 16.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.528e-06/0.2364, allocations: 2.562 kB / 499.3 MB, free: 16.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.002204/0.2386, allocations: 1.767 MB / 0.4893 GB, free: 16.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.2387, allocations: 13.2 kB / 0.4893 GB, free: 16.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001727/0.2404, allocations: 1.371 MB / 0.4907 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/0.2415, allocations: 0.5525 MB / 0.4912 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.2419, allocations: 208 kB / 0.4914 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006678/0.2486, allocations: 10.31 MB / 0.5015 GB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008311/0.2494, allocations: 51.34 kB / 0.5015 GB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.404e-05/0.2495, allocations: 43.94 kB / 0.5016 GB, free: 7.496 MB / 410.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.0002712/0.2498, allocations: 245.4 kB / 0.5018 GB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.2499, allocations: 95.95 kB / 0.5019 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.2517, allocations: 1.389 MB / 0.5032 GB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.2517, allocations: 9.281 kB / 0.5032 GB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.2517, allocations: 4.312 kB / 0.5032 GB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.2517, allocations: 5.297 kB / 0.5033 GB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003317/0.255, allocations: 2.536 MB / 0.5057 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.255, allocations: 7.391 kB / 0.5057 GB, free: 5.449 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003194/0.2553, allocations: 136.3 kB / 0.5059 GB, free: 5.438 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006287/0.2559, allocations: 386.2 kB / 0.5062 GB, free: 5.316 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.128e-05/0.256, allocations: 33.03 kB / 0.5063 GB, free: 5.301 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004842/0.2608, allocations: 8.803 MB / 0.5149 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2608, allocations: 4.656 kB / 0.5149 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.2627, allocations: 1.917 MB / 0.5167 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/0.263, allocations: 177 kB / 0.5169 GB, free: 12.15 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.31e-05/0.2631, allocations: 30.7 kB / 0.5169 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.2634, allocations: 43.48 kB / 0.517 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.2635, allocations: 72.73 kB / 0.517 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/0.2635, allocations: 33.88 kB / 0.5171 GB, free: 12.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004348/0.264, allocations: 0.4951 MB / 0.5176 GB, free: 11.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.264, allocations: 4 kB / 0.5176 GB, free: 11.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001592/0.2655, allocations: 0.621 MB / 0.5182 GB, free: 10.98 MB / 426.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.0002918/0.2658, allocations: 163.8 kB / 0.5183 GB, free: 10.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003597/0.2694, allocations: 3.285 MB / 0.5215 GB, free: 7.586 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2694, allocations: 0 / 0.5215 GB, free: 7.586 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.2705, allocations: 1.14 MB / 0.5227 GB, free: 6.383 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008041/0.2713, allocations: 235.2 kB / 0.5229 GB, free: 6.172 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003687/0.275, allocations: 3.009 MB / 0.5258 GB, free: 3.098 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007693/0.2757, allocations: 0.7471 MB / 0.5265 GB, free: 2.316 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.276, allocations: 76.48 kB / 0.5266 GB, free: 2.238 MB / 426.7 MB Notification: Performance of SimCode: time 1.283e-06/0.276, allocations: 0 / 0.5266 GB, free: 2.238 MB / 426.7 MB Notification: Performance of Templates: time 0.0514/0.3274, allocations: 47.17 MB / 0.5727 GB, free: 3.047 MB / 474.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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.097263337112963] Failed to read output from testmodel.py, exit status != 0: 0.3347105449065566 0.341828418 0.14113946800000002 Calling exit ...