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.001027/0.001027, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001174/0.001174, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.9767/0.9767, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.271/0.271, allocations: 29.42 MB / 291.2 MB, free: 2.465 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.883e-06/1.883e-06, allocations: 0 / 370.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.88e-05, allocations: 6.25 kB / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.0101/0.01013, allocations: 8.379 MB / 378.5 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006638/0.01677, allocations: 3.794 MB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008552/0.01762, allocations: 55.5 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.0188, allocations: 397.4 kB / 382.7 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.02066, allocations: 0.9595 MB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003386/0.02405, allocations: 0.7013 MB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002274/0.02632, allocations: 2.115 MB / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.0276, allocations: 0.9208 MB / 387.4 MB, free: 9.332 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.02905, allocations: 1.282 MB / 388.7 MB, free: 8.047 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.03034, allocations: 0.9351 MB / 389.6 MB, free: 7.109 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001879/0.03053, allocations: 136 kB / 389.8 MB, free: 6.977 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007969/0.03132, allocations: 0.5069 MB / 390.3 MB, free: 6.469 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005633/0.03189, allocations: 0.7482 MB / 391 MB, free: 5.719 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00058/0.03247, allocations: 0.5535 MB / 391.6 MB, free: 5.164 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.03418, allocations: 1.472 MB / 393.1 MB, free: 3.688 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.03419, allocations: 4 kB / 393.1 MB, free: 3.684 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.03419, allocations: 0 / 393.1 MB, free: 3.684 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.929e-05/0.03421, allocations: 0 / 393.1 MB, free: 3.684 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.004709/0.03892, allocations: 1.805 MB / 394.9 MB, free: 1.832 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.03896, allocations: 19.97 kB / 394.9 MB, free: 1.812 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.04026, allocations: 399.7 kB / 395.3 MB, free: 1.422 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.04146, allocations: 0.8886 MB / 396.2 MB, free: 0.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.719e-05/0.04152, allocations: 94.72 kB / 396.3 MB, free: 416 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002546/0.04178, allocations: 152.6 kB / 396.4 MB, free: 264 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.0432, allocations: 1.053 MB / 397.5 MB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/0.04324, allocations: 7.953 kB / 397.5 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.056e-05/0.04333, allocations: 55.98 kB / 397.5 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002047/0.04353, allocations: 102.4 kB / 397.6 MB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008206/0.04435, allocations: 478 kB / 398.1 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005555/0.04991, allocations: 4.93 MB / 403 MB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000533/0.05044, allocations: 368.8 kB / 403.4 MB, free: 8.902 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.05068, allocations: 184.9 kB / 403.6 MB, free: 8.711 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.05072, allocations: 16.66 kB / 403.6 MB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.05076, allocations: 46.05 kB / 403.6 MB, free: 8.641 MB / 378.7 MB Notification: Performance of pre-optimization done (n=73): time 2.415e-06/0.05076, allocations: 0 / 403.6 MB, free: 8.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.00382/0.05458, allocations: 1.872 MB / 405.5 MB, free: 6.711 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.05465, allocations: 170.9 kB / 405.7 MB, free: 6.508 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005936/0.05524, allocations: 0.7058 MB / 406.4 MB, free: 5.785 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/0.05529, allocations: 45.69 kB / 406.4 MB, free: 5.734 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004036/0.05569, allocations: 0.7211 MB / 407.1 MB, free: 5.004 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002113/0.05591, allocations: 321.3 kB / 407.4 MB, free: 4.688 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/0.05616, allocations: 204.5 kB / 407.6 MB, free: 4.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002245/0.05638, allocations: 0.6053 MB / 408.2 MB, free: 3.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.05661, allocations: 140.8 kB / 408.4 MB, free: 3.719 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007003/0.05731, allocations: 0.584 MB / 409 MB, free: 2.961 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.05844, allocations: 0.742 MB / 409.7 MB, free: 2.059 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.05845, allocations: 4 kB / 409.7 MB, free: 2.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.001843/0.06029, allocations: 1.076 MB / 410.8 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.06031, allocations: 8 kB / 410.8 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00131/0.06162, allocations: 0.7076 MB / 411.5 MB, free: 220 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001371/0.06299, allocations: 0.4894 MB / 412 MB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007521/0.06375, allocations: 299.6 kB / 412.3 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008515/0.07226, allocations: 13.84 MB / 426.1 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000435/0.0727, allocations: 39.92 kB / 426.2 MB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.625e-05/0.07275, allocations: 36 kB / 426.2 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003979/0.07315, allocations: 277.5 kB / 426.5 MB, free: 448 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000448/0.0736, allocations: 0.584 MB / 427.1 MB, free: 15.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007335/0.07433, allocations: 0.7381 MB / 427.8 MB, free: 14.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.168e-06/0.07434, allocations: 0 / 427.8 MB, free: 14.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=133) (initialization_lambda0): time 0.001763/0.0761, allocations: 1.065 MB / 428.9 MB, free: 13.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.07611, allocations: 8 kB / 428.9 MB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001455/0.07757, allocations: 0.6959 MB / 429.6 MB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001586/0.07915, allocations: 0.4902 MB / 430 MB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.07962, allocations: 195.7 kB / 430.2 MB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005996/0.08561, allocations: 10.19 MB / 440.4 MB, free: 1.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/0.08594, allocations: 32 kB / 440.5 MB, free: 1.469 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/0.08598, allocations: 47.92 kB / 440.5 MB, free: 1.422 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.0001972/0.08618, allocations: 327.8 kB / 440.8 MB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.08631, allocations: 123.4 kB / 441 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009253/0.08724, allocations: 0.7592 MB / 441.7 MB, free: 188 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.08724, allocations: 8 kB / 441.7 MB, free: 180 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.08725, allocations: 4 kB / 441.7 MB, free: 176 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.08725, allocations: 7.984 kB / 441.7 MB, free: 168 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1801/0.2673, allocations: 1.782 MB / 443.5 MB, free: 89.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.2673, allocations: 3.062 kB / 443.5 MB, free: 89.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004377/0.2678, allocations: 121.3 kB / 443.6 MB, free: 89.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008349/0.2686, allocations: 296.3 kB / 443.9 MB, free: 89.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.081e-05/0.2687, allocations: 27.55 kB / 443.9 MB, free: 89.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004647/0.2733, allocations: 9.937 MB / 453.9 MB, free: 80.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.2733, allocations: 6.5 kB / 453.9 MB, free: 80.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.275, allocations: 1.123 MB / 455 MB, free: 79.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003474/0.2754, allocations: 153.8 kB / 455.2 MB, free: 79.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.2755, allocations: 35.66 kB / 455.2 MB, free: 79.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003937/0.2759, allocations: 25.41 kB / 455.2 MB, free: 79.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.276, allocations: 76.27 kB / 455.3 MB, free: 79.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.68e-05/0.2761, allocations: 23 kB / 455.3 MB, free: 79.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003744/0.2765, allocations: 419.6 kB / 455.7 MB, free: 79.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2765, allocations: 0 / 455.7 MB, free: 79.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002179/0.2786, allocations: 0.597 MB / 456.3 MB, free: 79.62 MB / 410.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.000183/0.2788, allocations: 128.4 kB / 456.5 MB, free: 79.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003474/0.2823, allocations: 3.011 MB / 459.5 MB, free: 77.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.2823, allocations: 6.688 kB / 459.5 MB, free: 77.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.2834, allocations: 1.208 MB / 460.7 MB, free: 76.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.2845, allocations: 224.1 kB / 460.9 MB, free: 76.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004842/0.2893, allocations: 2.574 MB / 463.5 MB, free: 75.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.2897, allocations: 385.7 kB / 463.8 MB, free: 75.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005634/0.2903, allocations: 146.3 kB / 464 MB, free: 75.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005072/0.2908, allocations: 273.5 kB / 464.3 MB, free: 75.46 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2908, allocations: 0 / 464.3 MB, free: 75.46 MB / 410.7 MB Notification: Performance of Templates: time 0.02874/0.3195, allocations: 22.29 MB / 486.6 MB, free: 73.44 MB / 410.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.753737024962902]