Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001045/0.001045, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001662/0.002707, 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.001093/0.001093, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001462/0.002555, 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.9119/0.9119, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07559/0.9875, 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.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1174/0.1174, allocations: 29.44 MB / 273.6 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1354/0.2528, allocations: 9.538 MB / 283.1 MB, free: 12.84 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/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="mat",numberOfIntervals=2500,variableFilter="sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Vsource") translateModel(PowerSystems.Examples.AC3ph.Generation.Vsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="sensor.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Vsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 284.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009e-05/1.141e-05, allocations: 3.344 kB / 284.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.Vsource): time 0.005241/0.005253, allocations: 4.483 MB / 288.9 MB, free: 8.336 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.006782, allocations: 1.379 MB / 290.3 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.006943, allocations: 22.34 kB / 290.3 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000541/0.007484, allocations: 374.7 kB / 290.7 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004297/0.007914, allocations: 300.6 kB / 291 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.008282, allocations: 244 kB / 291.2 MB, free: 6.555 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004399/0.008722, allocations: 0.6604 MB / 291.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002538/0.008975, allocations: 247.7 kB / 292.1 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004554/0.009431, allocations: 483.5 kB / 292.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002817/0.009712, allocations: 261.1 kB / 292.9 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.009754, allocations: 31.38 kB / 292.9 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.009969, allocations: 158.8 kB / 293 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.01011, allocations: 207.5 kB / 293.2 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.01023, allocations: 138.9 kB / 293.4 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003442/0.01058, allocations: 414.8 kB / 293.8 MB, free: 5.281 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.966e-06/0.01058, allocations: 0 / 293.8 MB, free: 5.281 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.01059, allocations: 1.219 kB / 293.8 MB, free: 5.281 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.0106, allocations: 0 / 293.8 MB, free: 5.281 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.0007054/0.0113, allocations: 0.7632 MB / 294.5 MB, free: 4.574 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.339e-05/0.01133, allocations: 8.031 kB / 294.6 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004635/0.01179, allocations: 209.9 kB / 294.8 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.0121, allocations: 337.3 kB / 295.1 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.01212, allocations: 29.38 kB / 295.1 MB, free: 3.957 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.945e-05/0.01222, allocations: 63.84 kB / 295.2 MB, free: 3.895 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.0125, allocations: 311.6 kB / 295.5 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.01251, allocations: 4 kB / 295.5 MB, free: 3.562 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.01254, allocations: 16 kB / 295.5 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.322e-05/0.01262, allocations: 24.98 kB / 295.5 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.01275, allocations: 122.8 kB / 295.7 MB, free: 3.402 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.01382, allocations: 1.192 MB / 296.8 MB, free: 2.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.01396, allocations: 156.6 kB / 297 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.265e-05/0.01402, allocations: 74.06 kB / 297.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.01404, allocations: 7.938 kB / 297.1 MB, free: 1.902 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.01406, allocations: 38.56 kB / 297.1 MB, free: 1.855 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 1.102e-06/0.01406, allocations: 0 / 297.1 MB, free: 1.855 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007957/0.01485, allocations: 0.5903 MB / 297.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.01488, allocations: 81.11 kB / 297.8 MB, free: 1.125 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.01502, allocations: 278.9 kB / 298.1 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.01504, allocations: 33.7 kB / 298.1 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.029e-05/0.01512, allocations: 233 kB / 298.3 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.01517, allocations: 99.17 kB / 298.4 MB, free: 480 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.724e-05/0.01523, allocations: 78.11 kB / 298.5 MB, free: 396 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.655e-05/0.01531, allocations: 350.7 kB / 298.8 MB, free: 36 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.264e-05/0.01535, allocations: 32.48 kB / 298.9 MB, free: 4 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.76e-05/0.01545, allocations: 137.3 kB / 299 MB, free: 15.83 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.0002546/0.0157, allocations: 295.5 kB / 299.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.01571, allocations: 0 / 299.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003207/0.01603, allocations: 304.1 kB / 299.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.01604, allocations: 8 kB / 299.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.01604, allocations: 4 kB / 299.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002237/0.01627, allocations: 122.6 kB / 299.7 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.0164, allocations: 68 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002339/0.01874, allocations: 5.536 MB / 305.3 MB, free: 9.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.554e-05/0.01883, allocations: 15.95 kB / 305.3 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.01884, allocations: 8 kB / 305.3 MB, free: 9.027 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.0001404/0.01898, allocations: 164.6 kB / 305.5 MB, free: 8.855 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.01902, allocations: 31.95 kB / 305.5 MB, free: 8.824 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002801/0.0193, allocations: 261.4 kB / 305.8 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.0193, allocations: 4 kB / 305.8 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.0193, allocations: 0 / 305.8 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.01931, allocations: 3.984 kB / 305.8 MB, free: 8.543 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006315/0.01994, allocations: 0.7039 MB / 306.5 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.01994, allocations: 0 / 306.5 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.388e-05/0.02001, allocations: 31.98 kB / 306.5 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.02003, allocations: 39.75 kB / 306.6 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002194/0.02025, allocations: 116.3 kB / 306.7 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.02027, allocations: 11.98 kB / 306.7 MB, free: 7.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/0.02202, allocations: 4.236 MB / 310.9 MB, free: 3.039 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.02202, allocations: 7.938 kB / 310.9 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003921/0.02241, allocations: 492.8 kB / 311.4 MB, free: 2.488 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.02244, allocations: 11.98 kB / 311.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.02252, allocations: 8 kB / 311.4 MB, free: 2.469 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.02257, allocations: 27.89 kB / 311.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.02258, allocations: 12 kB / 311.5 MB, free: 2.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.907e-05/0.02265, allocations: 108.5 kB / 311.6 MB, free: 2.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02265, allocations: 0 / 311.6 MB, free: 2.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003491/0.02299, allocations: 120 kB / 311.7 MB, free: 2.203 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 7.521e-05/0.02307, allocations: 93.73 kB / 311.8 MB, free: 2.102 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005912/0.02366, allocations: 0.6988 MB / 312.5 MB, free: 1.344 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/0.02367, allocations: 4 kB / 312.5 MB, free: 1.34 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004406/0.02411, allocations: 0.5381 MB / 313 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.02457, allocations: 0.6208 MB / 313.7 MB, free: 24 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006048/0.03062, allocations: 0.9523 MB / 314.6 MB, free: 15.01 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.952e-05/0.03072, allocations: 149.2 kB / 314.8 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.088e-05/0.0308, allocations: 39.27 kB / 314.8 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.03092, allocations: 111.3 kB / 314.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.03092, allocations: 0 / 314.9 MB, free: 14.7 MB / 314.7 MB Notification: Performance of Templates: time 0.009476/0.04039, allocations: 5.898 MB / 320.8 MB, free: 8.898 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Vsource.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Vsource.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Vsource.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Vsource.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Vsource.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Vsource -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.Vsource.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.720252144150436]