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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009837/0.0009836, allocations: 92.28 kB / 16.65 MB, free: 6.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001114, allocations: 180.6 kB / 17.56 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.4 MB / 223.7 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.178/0.178, allocations: 38.06 MB / 310.1 MB, free: 5.902 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005383/0.0005385, allocations: 16 kB / 377.2 MB, free: 2.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2842, allocations: 56.33 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004588/0.2888, allocations: 4.822 MB / 438.3 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.2908, allocations: 1.52 MB / 439.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003196/0.2912, allocations: 23.88 kB / 439.9 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003972/0.2916, allocations: 79.44 kB / 439.9 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006261/0.2922, allocations: 239 kB / 440.2 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004432/0.2927, allocations: 147.8 kB / 440.3 MB, free: 11.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005652/0.2933, allocations: 0.8571 MB / 441.2 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007672/0.2941, allocations: 0.5437 MB / 441.7 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002548/0.2943, allocations: 207 kB / 441.9 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000387/0.2947, allocations: 283.1 kB / 442.2 MB, free: 9.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.2948, allocations: 16 kB / 442.2 MB, free: 9.898 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/0.295, allocations: 123.8 kB / 442.3 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.2951, allocations: 183.5 kB / 442.5 MB, free: 9.598 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.2953, allocations: 228.6 kB / 442.7 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003886/0.2957, allocations: 498.2 kB / 443.2 MB, free: 8.879 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2957, allocations: 0 / 443.2 MB, free: 8.879 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2957, allocations: 3.938 kB / 443.2 MB, free: 8.875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.2957, allocations: 0 / 443.2 MB, free: 8.875 MB / 318.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.0009891/0.2967, allocations: 0.6329 MB / 443.9 MB, free: 8.188 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.2968, allocations: 8.031 kB / 443.9 MB, free: 8.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005902/0.2974, allocations: 84.31 kB / 443.9 MB, free: 8.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004531/0.2978, allocations: 391.2 kB / 444.3 MB, free: 7.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.257e-05/0.2979, allocations: 21.38 kB / 444.3 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.298, allocations: 52.09 kB / 444.4 MB, free: 7.609 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005319/0.2985, allocations: 484.8 kB / 444.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.2986, allocations: 0 / 444.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.21e-05/0.2986, allocations: 12 kB / 444.9 MB, free: 7.094 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.776e-05/0.2987, allocations: 28.98 kB / 444.9 MB, free: 7.066 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004234/0.2991, allocations: 351.7 kB / 445.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.3007, allocations: 1.745 MB / 447 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.301, allocations: 149.2 kB / 447.1 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.3011, allocations: 117.7 kB / 447.3 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.3011, allocations: 3.938 kB / 447.3 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.3012, allocations: 34.56 kB / 447.3 MB, free: 4.527 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.452e-06/0.3012, allocations: 0 / 447.3 MB, free: 4.527 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001216/0.3024, allocations: 0.8887 MB / 448.2 MB, free: 3.562 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.3024, allocations: 77.11 kB / 448.3 MB, free: 3.469 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002407/0.3027, allocations: 312.5 kB / 448.6 MB, free: 3.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.3027, allocations: 25.83 kB / 448.6 MB, free: 3.129 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.3028, allocations: 255.4 kB / 448.8 MB, free: 2.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.3029, allocations: 67.17 kB / 448.9 MB, free: 2.809 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.3029, allocations: 33.7 kB / 448.9 MB, free: 2.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.303, allocations: 342.8 kB / 449.3 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.3031, allocations: 96.22 kB / 449.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.3033, allocations: 205.2 kB / 449.6 MB, free: 2.086 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.3036, allocations: 336.4 kB / 449.9 MB, free: 1.711 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3036, allocations: 0 / 449.9 MB, free: 1.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007277/0.3044, allocations: 469.7 kB / 450.4 MB, free: 1.242 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3044, allocations: 11.94 kB / 450.4 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005128/0.3049, allocations: 308.4 kB / 450.7 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004483/0.3054, allocations: 140.9 kB / 450.8 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.3055, allocations: 55.92 kB / 450.9 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002669/0.3082, allocations: 2.205 MB / 453.1 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.3084, allocations: 19.92 kB / 453.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.3084, allocations: 16 kB / 453.1 MB, free: 14.36 MB / 334.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.0002515/0.3087, allocations: 193.7 kB / 453.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.3088, allocations: 23.72 kB / 453.3 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004728/0.3092, allocations: 269.3 kB / 453.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3093, allocations: 7.875 kB / 453.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3093, allocations: 0 / 453.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.3093, allocations: 4 kB / 453.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.3104, allocations: 0.7312 MB / 454.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3104, allocations: 4 kB / 454.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.3106, allocations: 39.92 kB / 454.4 MB, free: 13.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/0.3108, allocations: 32.83 kB / 454.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.3108, allocations: 12.06 kB / 454.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3108, allocations: 4 kB / 454.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3108, allocations: 3.938 kB / 454.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005503/0.3114, allocations: 442.4 kB / 454.8 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.3115, allocations: 116.8 kB / 455 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.3115, allocations: 0 / 455 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.3116, allocations: 11.98 kB / 455 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.3117, allocations: 15.92 kB / 455 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.3117, allocations: 8 kB / 455 MB, free: 12.33 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00022/0.3119, allocations: 219 kB / 455.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.3119, allocations: 0 / 455.2 MB, free: 12.12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004207/0.3124, allocations: 88 kB / 455.3 MB, free: 12.03 MB / 334.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.0001275/0.3125, allocations: 107.2 kB / 455.4 MB, free: 11.92 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006845/0.3132, allocations: 406.4 kB / 455.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3132, allocations: 4.188 kB / 455.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.3134, allocations: 185.8 kB / 456 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.3139, allocations: 57.19 kB / 456 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.3155, allocations: 1.09 MB / 457.1 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.316, allocations: 0.8458 MB / 458 MB, free: 9.246 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002173/0.3162, allocations: 62.92 kB / 458 MB, free: 9.184 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.826e-05/0.3163, allocations: 27.42 kB / 458.1 MB, free: 9.16 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3163, allocations: 0 / 458.1 MB, free: 9.16 MB / 334.1 MB Notification: Performance of Templates: time 0.007596/0.3239, allocations: 3.565 MB / 461.6 MB, free: 5.605 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: