Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource.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.0006645/0.0006645, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008966/0.001561, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006706/0.0006706, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008713/0.001542, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9402/0.9402, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07291/1.013, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.1122/0.1122, allocations: 29.43 MB / 273.6 MB, free: 1.355 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1132/0.2254, allocations: 9.526 MB / 283.1 MB, free: 12.83 MB / 282.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.Vsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource") translateModel(PowerSystems.Examples.AC3ph.Generation.Vsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.896e-05, allocations: 2.312 kB / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.006471/0.00649, allocations: 4.467 MB / 288.9 MB, free: 8.332 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002832/0.009322, allocations: 1.482 MB / 290.4 MB, free: 7.184 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002642/0.009586, allocations: 20.06 kB / 290.4 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006664/0.01025, allocations: 190.2 kB / 290.6 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006768/0.01093, allocations: 304.3 kB / 290.9 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006604/0.01159, allocations: 230.9 kB / 291.1 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008694/0.01246, allocations: 0.6796 MB / 291.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000441/0.0129, allocations: 240.1 kB / 292 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008383/0.01374, allocations: 494.9 kB / 292.5 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005026/0.01424, allocations: 260.7 kB / 292.8 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 8.198e-05/0.01432, allocations: 31.06 kB / 292.8 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004129/0.01474, allocations: 159.9 kB / 292.9 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002236/0.01496, allocations: 207.1 kB / 293.1 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002224/0.01518, allocations: 138.1 kB / 293.3 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006194/0.0158, allocations: 416.3 kB / 293.7 MB, free: 5.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.374e-05/0.01582, allocations: 0 / 293.7 MB, free: 5.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01582, allocations: 0 / 293.7 MB, free: 5.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.999e-05/0.01584, allocations: 0 / 293.7 MB, free: 5.32 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001199/0.01703, allocations: 0.7584 MB / 294.4 MB, free: 4.633 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.01707, allocations: 16.03 kB / 294.5 MB, free: 4.617 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008733/0.01795, allocations: 213.8 kB / 294.7 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005542/0.0185, allocations: 333.4 kB / 295 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.01853, allocations: 25.36 kB / 295 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.0187, allocations: 63.81 kB / 295.1 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004789/0.01918, allocations: 315.6 kB / 295.4 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.01919, allocations: 3.938 kB / 295.4 MB, free: 3.613 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.01923, allocations: 15.98 kB / 295.4 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/0.01938, allocations: 28.98 kB / 295.4 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.01963, allocations: 110.9 kB / 295.5 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.02154, allocations: 1.2 MB / 296.7 MB, free: 2.211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.02176, allocations: 153 kB / 296.9 MB, free: 2.043 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.852e-05/0.02186, allocations: 60.58 kB / 297 MB, free: 1.977 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.02189, allocations: 15.94 kB / 297 MB, free: 1.961 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.02191, allocations: 34.5 kB / 297 MB, free: 1.918 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 2.464e-06/0.02192, allocations: 0 / 297 MB, free: 1.918 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.001358/0.02327, allocations: 0.5904 MB / 297.6 MB, free: 1.285 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.02332, allocations: 81.11 kB / 297.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.02362, allocations: 290.8 kB / 298 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.02365, allocations: 33.64 kB / 298 MB, free: 0.8516 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.02377, allocations: 225.1 kB / 298.2 MB, free: 0.625 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.708e-05/0.02385, allocations: 103.1 kB / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.02396, allocations: 78.14 kB / 298.4 MB, free: 452 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.02406, allocations: 346.7 kB / 298.7 MB, free: 96 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.81e-05/0.02415, allocations: 36.48 kB / 298.8 MB, free: 60 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001515/0.0243, allocations: 125.3 kB / 298.9 MB, free: 15.9 MB / 298.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/0.02473, allocations: 313.6 kB / 299.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.02473, allocations: 0 / 299.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005896/0.02532, allocations: 300.2 kB / 299.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.02534, allocations: 4 kB / 299.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.02534, allocations: 4 kB / 299.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004114/0.02576, allocations: 126.6 kB / 299.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.026, allocations: 63.91 kB / 299.7 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004171/0.03017, allocations: 5.548 MB / 305.2 MB, free: 9.098 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.03035, allocations: 11.95 kB / 305.2 MB, free: 9.086 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.03038, allocations: 15.98 kB / 305.2 MB, free: 9.07 MB / 298.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.line.i[3] = 0.0 sqrt(Vsource.v[1] ^ 2.0 + Vsource.v[2] ^ 2.0) = 2e4 * Vsource.v_start atan2(Vsource.v[2], Vsource.v[1]) = Vsource.alpha_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 1 system {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,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002268/0.0306, allocations: 152.5 kB / 305.4 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.737e-05/0.03067, allocations: 31.97 kB / 305.4 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004986/0.03117, allocations: 257 kB / 305.7 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.03117, allocations: 4 kB / 305.7 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.03118, allocations: 4 kB / 305.7 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.03118, allocations: 0 / 305.7 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.03228, allocations: 0.704 MB / 306.4 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.03228, allocations: 4 kB / 306.4 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.0324, allocations: 35.92 kB / 306.4 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.863e-05/0.03245, allocations: 31.77 kB / 306.5 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003902/0.03284, allocations: 116.4 kB / 306.6 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.03287, allocations: 19.92 kB / 306.6 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003033/0.03591, allocations: 4.224 MB / 310.8 MB, free: 3.105 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.03591, allocations: 3.938 kB / 310.8 MB, free: 3.102 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006233/0.03653, allocations: 488.8 kB / 311.3 MB, free: 2.562 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/0.03658, allocations: 16.23 kB / 311.3 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.03674, allocations: 4 kB / 311.3 MB, free: 2.543 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.0368, allocations: 31.95 kB / 311.4 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.03682, allocations: 11.97 kB / 311.4 MB, free: 2.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001253/0.03695, allocations: 112.5 kB / 311.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.03695, allocations: 0 / 311.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000651/0.0376, allocations: 124 kB / 311.6 MB, free: 2.266 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (line.i[1],line.i[2],line.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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,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.0001281/0.03773, allocations: 92.3 kB / 311.7 MB, free: 2.164 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009166/0.03864, allocations: 0.6991 MB / 312.4 MB, free: 1.402 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.706e-05/0.03866, allocations: 8 kB / 312.4 MB, free: 1.395 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005893/0.03925, allocations: 0.5345 MB / 312.9 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006729/0.03992, allocations: 0.6218 MB / 313.5 MB, free: 80 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.05015, allocations: 0.9437 MB / 314.5 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.0503, allocations: 157.2 kB / 314.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.05043, allocations: 31.28 kB / 314.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.05062, allocations: 115.3 kB / 314.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of SimCode: time 7.22e-07/0.05062, allocations: 0 / 314.8 MB, free: 14.76 MB / 314.7 MB Notification: Performance of Templates: time 0.008857/0.05947, allocations: 5.902 MB / 320.7 MB, free: 8.953 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.Vsource.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.647942834533751]