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.0009733/0.0009733, allocations: 77.97 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.001113/0.001113, allocations: 164.9 kB / 24.82 MB, free: 9.27 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.9608/0.9608, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.2181/0.2181, allocations: 29.42 MB / 291.2 MB, free: 2.363 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.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.393e-06/1.393e-06, allocations: 0 / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.371e-05/1.51e-05, allocations: 2.312 kB / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.003958/0.003974, allocations: 4.193 MB / 374.3 MB, free: 6.473 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.00534, allocations: 1.309 MB / 375.6 MB, free: 5.16 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.005486, allocations: 19.81 kB / 375.6 MB, free: 5.141 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004563/0.005943, allocations: 155.1 kB / 375.8 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003152/0.006258, allocations: 262.5 kB / 376 MB, free: 4.73 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.006518, allocations: 175.4 kB / 376.2 MB, free: 4.559 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003682/0.006887, allocations: 0.5684 MB / 376.8 MB, free: 3.988 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002553/0.007142, allocations: 225.5 kB / 377 MB, free: 3.77 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003705/0.007512, allocations: 394.9 kB / 377.4 MB, free: 3.383 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.007752, allocations: 239.3 kB / 377.6 MB, free: 3.148 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.007783, allocations: 28 kB / 377.6 MB, free: 3.121 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001639/0.007947, allocations: 135.6 kB / 377.8 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.008091, allocations: 207.5 kB / 378 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.008192, allocations: 143.7 kB / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.008509, allocations: 386.6 kB / 378.5 MB, free: 2.266 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.008511, allocations: 0 / 378.5 MB, free: 2.266 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.008511, allocations: 0 / 378.5 MB, free: 2.266 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.008515, allocations: 0 / 378.5 MB, free: 2.266 MB / 346.7 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.0006319/0.009147, allocations: 0.731 MB / 379.2 MB, free: 1.496 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.009182, allocations: 11.98 kB / 379.2 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003661/0.009548, allocations: 116.6 kB / 379.3 MB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.00993, allocations: 337.7 kB / 379.7 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.009959, allocations: 25.36 kB / 379.7 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.489e-05/0.01005, allocations: 44.69 kB / 379.7 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.01042, allocations: 317.9 kB / 380.1 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.01043, allocations: 0 / 380.1 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.01046, allocations: 16 kB / 380.1 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-05/0.01053, allocations: 24.98 kB / 380.1 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004309/0.01096, allocations: 126.8 kB / 380.2 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.01227, allocations: 1.462 MB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.01243, allocations: 110.1 kB / 381.8 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.398e-05/0.01249, allocations: 51.41 kB / 381.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.01251, allocations: 4 kB / 381.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.01253, allocations: 37.39 kB / 381.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.01253, allocations: 0 / 381.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007355/0.01327, allocations: 440.2 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.0133, allocations: 85.23 kB / 382.4 MB, free: 14.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.01351, allocations: 334.1 kB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.01353, allocations: 33.7 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.01368, allocations: 306.6 kB / 383 MB, free: 13.42 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.726e-05/0.01372, allocations: 63.47 kB / 383.1 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-05/0.0138, allocations: 67.56 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.01395, allocations: 0.5195 MB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.016e-05/0.014, allocations: 28.27 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.01412, allocations: 187.5 kB / 383.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.01434, allocations: 246 kB / 384.1 MB, free: 12.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.01434, allocations: 8 kB / 384.2 MB, free: 12.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004918/0.01483, allocations: 312.8 kB / 384.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.01485, allocations: 14.33 kB / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002732/0.01512, allocations: 158.8 kB / 384.6 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003546/0.01548, allocations: 115.6 kB / 384.7 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.01561, allocations: 59.91 kB / 384.8 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.01722, allocations: 2.301 MB / 387.1 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.01733, allocations: 11.98 kB / 387.1 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.605e-05/0.01735, allocations: 12 kB / 387.1 MB, free: 9.066 MB / 362.7 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.0003358/0.01768, allocations: 168.5 kB / 387.3 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.01773, allocations: 35.75 kB / 387.3 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.01795, allocations: 170.4 kB / 387.5 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01796, allocations: 4 kB / 387.5 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.01796, allocations: 0 / 387.5 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01796, allocations: 3.984 kB / 387.5 MB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005963/0.01856, allocations: 0.5085 MB / 388 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.01856, allocations: 0 / 388 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000127/0.01869, allocations: 35.92 kB / 388 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.528e-05/0.01874, allocations: 23.73 kB / 388.1 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.01876, allocations: 12.06 kB / 388.1 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.01876, allocations: 3.984 kB / 388.1 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.01876, allocations: 4 kB / 388.1 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.01906, allocations: 358.2 kB / 388.4 MB, free: 7.645 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.01909, allocations: 23.81 kB / 388.5 MB, free: 7.621 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.01912, allocations: 11.98 kB / 388.5 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.35e-05/0.01921, allocations: 3.938 kB / 388.5 MB, free: 7.605 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.01924, allocations: 11.98 kB / 388.5 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.01924, allocations: 7.938 kB / 388.5 MB, free: 7.586 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001157/0.01936, allocations: 222.9 kB / 388.7 MB, free: 7.371 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01936, allocations: 0 / 388.7 MB, free: 7.371 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003779/0.01974, allocations: 84 kB / 388.8 MB, free: 7.289 MB / 362.7 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 8.406e-05/0.01982, allocations: 107.1 kB / 388.9 MB, free: 7.176 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003777/0.0202, allocations: 348.2 kB / 389.2 MB, free: 6.816 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.0202, allocations: 0 / 389.2 MB, free: 6.816 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.53e-05/0.0203, allocations: 71.2 kB / 389.3 MB, free: 6.738 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.02066, allocations: 75.73 kB / 389.4 MB, free: 6.672 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.02195, allocations: 0.7628 MB / 390.1 MB, free: 5.863 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.949e-05/0.02205, allocations: 132.4 kB / 390.3 MB, free: 5.715 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.462e-05/0.02215, allocations: 34.95 kB / 390.3 MB, free: 5.684 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.02229, allocations: 126.2 kB / 390.4 MB, free: 5.559 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02229, allocations: 0 / 390.4 MB, free: 5.559 MB / 362.7 MB Notification: Performance of Templates: time 0.007212/0.0295, allocations: 3.975 MB / 394.4 MB, free: 1.648 MB / 362.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9040869791060686]