Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.001325/0.001325, allocations: 82.42 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001438/0.001438, allocations: 163.6 kB / 23.96 MB, free: 4.164 MB / 14.72 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.519/1.519, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.1836/0.1836, allocations: 29.43 MB / 290.1 MB, free: 3.285 MB / 270.1 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.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.392e-05, allocations: 6.219 kB / 430.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006412/0.006436, allocations: 4.447 MB / 435.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.00885, allocations: 1.269 MB / 436.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002685/0.009119, allocations: 15.88 kB / 436.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001291/0.01041, allocations: 394.2 kB / 436.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000658/0.01107, allocations: 258.5 kB / 437.1 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005387/0.01161, allocations: 171.4 kB / 437.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007884/0.0124, allocations: 0.5684 MB / 437.8 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004766/0.01287, allocations: 237.4 kB / 438.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006756/0.01355, allocations: 342.9 kB / 438.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000548/0.0141, allocations: 271.3 kB / 438.7 MB, free: 9.949 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.593e-05/0.01417, allocations: 28 kB / 438.7 MB, free: 9.922 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.01452, allocations: 135.6 kB / 438.8 MB, free: 9.789 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000252/0.01477, allocations: 207.5 kB / 439 MB, free: 9.586 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002463/0.01501, allocations: 147.7 kB / 439.2 MB, free: 9.441 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007534/0.01577, allocations: 0.5101 MB / 439.7 MB, free: 8.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.01577, allocations: 0 / 439.7 MB, free: 8.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01577, allocations: 0 / 439.7 MB, free: 8.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.01578, allocations: 0 / 439.7 MB, free: 8.93 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001275/0.01706, allocations: 0.6427 MB / 440.3 MB, free: 8.254 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.0171, allocations: 11.98 kB / 440.3 MB, free: 8.242 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006421/0.01774, allocations: 88.59 kB / 440.4 MB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007483/0.01849, allocations: 344 kB / 440.8 MB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.01852, allocations: 21.38 kB / 440.8 MB, free: 7.773 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.01868, allocations: 44.73 kB / 440.8 MB, free: 7.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008171/0.01949, allocations: 488.9 kB / 441.3 MB, free: 7.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.01951, allocations: 0 / 441.3 MB, free: 7.227 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/0.01956, allocations: 15.94 kB / 441.3 MB, free: 7.211 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001131/0.01967, allocations: 32.98 kB / 441.4 MB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006305/0.0203, allocations: 355.6 kB / 441.7 MB, free: 6.832 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002505/0.02281, allocations: 1.405 MB / 443.1 MB, free: 5.359 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/0.02315, allocations: 145.2 kB / 443.2 MB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.02335, allocations: 109.7 kB / 443.4 MB, free: 5.086 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.02337, allocations: 4 kB / 443.4 MB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.02341, allocations: 34.56 kB / 443.4 MB, free: 5.039 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.02341, allocations: 0 / 443.4 MB, free: 5.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.00171/0.02512, allocations: 0.746 MB / 444.1 MB, free: 4.258 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.02518, allocations: 81.11 kB / 444.2 MB, free: 4.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/0.02553, allocations: 296.4 kB / 444.5 MB, free: 3.859 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.02555, allocations: 29.7 kB / 444.5 MB, free: 3.824 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.02575, allocations: 260 kB / 444.8 MB, free: 3.566 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.155e-05/0.02582, allocations: 63.44 kB / 444.8 MB, free: 3.504 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.02593, allocations: 61.97 kB / 444.9 MB, free: 3.434 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.02612, allocations: 338.8 kB / 445.2 MB, free: 3.094 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.0263, allocations: 96.22 kB / 445.3 MB, free: 3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.02656, allocations: 201.3 kB / 445.5 MB, free: 2.758 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004863/0.02705, allocations: 336.6 kB / 445.9 MB, free: 2.383 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.02705, allocations: 3.938 kB / 445.9 MB, free: 2.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001064/0.02812, allocations: 464.2 kB / 446.3 MB, free: 1.922 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.02814, allocations: 12.09 kB / 446.3 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006933/0.02883, allocations: 308.7 kB / 446.6 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005425/0.02937, allocations: 136.7 kB / 446.8 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.02959, allocations: 55.91 kB / 446.8 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.182/0.2116, allocations: 2.291 MB / 449.1 MB, free: 28.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.2119, allocations: 15.62 kB / 449.1 MB, free: 28.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.2119, allocations: 10.61 kB / 449.1 MB, free: 28.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000244/0.2122, allocations: 194.6 kB / 449.3 MB, free: 28.72 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.374e-05/0.2122, allocations: 28.03 kB / 449.4 MB, free: 28.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000537/0.2128, allocations: 261 kB / 449.6 MB, free: 28.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2128, allocations: 1.281 kB / 449.6 MB, free: 28.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2128, allocations: 1.938 kB / 449.6 MB, free: 28.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2128, allocations: 3.109 kB / 449.6 MB, free: 28.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.2139, allocations: 0.6272 MB / 450.2 MB, free: 28.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.2139, allocations: 1.375 kB / 450.2 MB, free: 28.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.2142, allocations: 38.73 kB / 450.3 MB, free: 28.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001259/0.2143, allocations: 42.23 kB / 450.3 MB, free: 28.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.2143, allocations: 3.109 kB / 450.3 MB, free: 28.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.2143, allocations: 2.797 kB / 450.3 MB, free: 28.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2143, allocations: 1.156 kB / 450.3 MB, free: 28.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000594/0.2149, allocations: 450.6 kB / 450.8 MB, free: 28.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.215, allocations: 29.69 kB / 450.8 MB, free: 28.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/0.215, allocations: 6.797 kB / 450.8 MB, free: 28.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.2152, allocations: 11.31 kB / 450.8 MB, free: 28.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.2152, allocations: 14.17 kB / 450.8 MB, free: 28.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.2152, allocations: 5.562 kB / 450.8 MB, free: 28.06 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001981/0.2154, allocations: 207.9 kB / 451 MB, free: 27.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2154, allocations: 1.781 kB / 451 MB, free: 27.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004691/0.2159, allocations: 81.97 kB / 451.1 MB, free: 27.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001228/0.216, allocations: 109.6 kB / 451.2 MB, free: 27.85 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007119/0.2167, allocations: 405.8 kB / 451.6 MB, free: 27.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.2167, allocations: 1 kB / 451.6 MB, free: 27.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.2169, allocations: 99.89 kB / 451.7 MB, free: 27.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.2174, allocations: 67.11 kB / 451.8 MB, free: 27.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.2186, allocations: 0.7884 MB / 452.6 MB, free: 27.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.2189, allocations: 236.3 kB / 452.8 MB, free: 27.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001862/0.2191, allocations: 63.8 kB / 452.9 MB, free: 27.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/0.2191, allocations: 24.03 kB / 452.9 MB, free: 27.06 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2191, allocations: 0 / 452.9 MB, free: 27.06 MB / 366.1 MB Notification: Performance of Templates: time 0.00913/0.2283, allocations: 3.602 MB / 456.5 MB, free: 26.68 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.931956671178341] Failed to read output from testmodel.py, exit status != 0: 0.23706089705228806 0.248788679 0.23038897800000002 Calling exit ...