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.001578/0.001578, allocations: 111.9 kB / 17.68 MB, free: 5.332 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.001764/0.001764, allocations: 190.9 kB / 18.62 MB, free: 4.41 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.542/1.542, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1884/0.1884, allocations: 37.98 MB / 309.8 MB, free: 5.965 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.001591/0.001591, allocations: 63.91 kB / 376.8 MB, free: 2.902 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2812, allocations: 55.24 MB / 432 MB, free: 19.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.006205/0.2875, allocations: 4.582 MB / 436.6 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.2893, allocations: 1.344 MB / 437.9 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001787/0.2895, allocations: 11.94 kB / 438 MB, free: 13.53 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.2906, allocations: 406.2 kB / 438.3 MB, free: 13.13 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004131/0.291, allocations: 250.8 kB / 438.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.2914, allocations: 171.6 kB / 438.8 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004569/0.2918, allocations: 0.5608 MB / 439.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003992/0.2922, allocations: 281.2 kB / 439.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002465/0.2925, allocations: 262.9 kB / 439.9 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003771/0.2929, allocations: 283 kB / 440.1 MB, free: 11.35 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/0.2929, allocations: 32 kB / 440.2 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.2931, allocations: 127.8 kB / 440.3 MB, free: 11.19 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.2933, allocations: 187.5 kB / 440.5 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.2935, allocations: 214.9 kB / 440.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004002/0.2939, allocations: 0.5178 MB / 441.2 MB, free: 10.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2939, allocations: 0 / 441.2 MB, free: 10.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2939, allocations: 0 / 441.2 MB, free: 10.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.2939, allocations: 4 kB / 441.2 MB, free: 10.27 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.0009319/0.2949, allocations: 0.6969 MB / 441.9 MB, free: 9.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.2949, allocations: 11.89 kB / 441.9 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005188/0.2954, allocations: 84.31 kB / 442 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005788/0.296, allocations: 419.1 kB / 442.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.296, allocations: 21.38 kB / 442.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.2962, allocations: 52.09 kB / 442.5 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.2967, allocations: 484.8 kB / 442.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.2967, allocations: 0 / 442.9 MB, free: 8.414 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.2968, allocations: 12 kB / 443 MB, free: 8.402 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.431e-05/0.2969, allocations: 28.98 kB / 443 MB, free: 8.375 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/0.2973, allocations: 347.7 kB / 443.3 MB, free: 8.035 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001718/0.299, allocations: 1.718 MB / 445 MB, free: 6.199 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.2993, allocations: 153.1 kB / 445.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.2994, allocations: 117.7 kB / 445.3 MB, free: 5.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.2994, allocations: 7.922 kB / 445.3 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.2994, allocations: 38.55 kB / 445.4 MB, free: 5.855 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.2995, allocations: 0 / 445.4 MB, free: 5.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001163/0.3006, allocations: 0.8806 MB / 446.2 MB, free: 4.898 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.3007, allocations: 81.11 kB / 446.3 MB, free: 4.801 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.3009, allocations: 308.5 kB / 446.6 MB, free: 4.492 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.3009, allocations: 29.7 kB / 446.6 MB, free: 4.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.301, allocations: 251.5 kB / 446.9 MB, free: 4.207 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.3011, allocations: 63.09 kB / 447 MB, free: 4.145 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.046e-05/0.3011, allocations: 65.88 kB / 447 MB, free: 4.074 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.607e-05/0.3012, allocations: 350.7 kB / 447.4 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.3013, allocations: 96.22 kB / 447.5 MB, free: 3.629 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.3015, allocations: 202.4 kB / 447.6 MB, free: 3.387 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.3018, allocations: 328.6 kB / 448 MB, free: 3.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3018, allocations: 0 / 448 MB, free: 3.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006844/0.3025, allocations: 473.4 kB / 448.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3025, allocations: 12.42 kB / 448.4 MB, free: 2.535 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004813/0.303, allocations: 313.5 kB / 448.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004163/0.3034, allocations: 136.7 kB / 448.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.3036, allocations: 55.92 kB / 448.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00248/0.3061, allocations: 2.435 MB / 451.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.3063, allocations: 12 kB / 451.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.3063, allocations: 15.94 kB / 451.4 MB, free: 15.43 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.000235/0.3066, allocations: 193.9 kB / 451.6 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/0.3066, allocations: 27.62 kB / 451.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004319/0.3071, allocations: 277.2 kB / 451.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.3071, allocations: 4 kB / 451.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.3071, allocations: 0 / 451.9 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3071, allocations: 3.984 kB / 451.9 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.3082, allocations: 0.7528 MB / 452.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3082, allocations: 0 / 452.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.3084, allocations: 35.98 kB / 452.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.543e-05/0.3085, allocations: 40.81 kB / 452.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.3085, allocations: 3.984 kB / 452.7 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3086, allocations: 8.062 kB / 452.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3086, allocations: 0 / 452.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004959/0.3091, allocations: 442.3 kB / 453.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.062e-05/0.3091, allocations: 100.9 kB / 453.3 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/0.3092, allocations: 12 kB / 453.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.3093, allocations: 11.98 kB / 453.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.3094, allocations: 19.86 kB / 453.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.3094, allocations: 4 kB / 453.3 MB, free: 13.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002056/0.3096, allocations: 223 kB / 453.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3096, allocations: 0 / 453.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004185/0.31, allocations: 84 kB / 453.6 MB, free: 13.09 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.0001211/0.3102, allocations: 103.2 kB / 453.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006462/0.3108, allocations: 414.1 kB / 454.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3108, allocations: 0.875 kB / 454.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.311, allocations: 185.9 kB / 454.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.3115, allocations: 60.61 kB / 454.4 MB, free: 12.3 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.313, allocations: 0.8695 MB / 455.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/0.3136, allocations: 0.8457 MB / 456.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001595/0.3137, allocations: 62.91 kB / 456.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.3138, allocations: 27.38 kB / 456.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3138, allocations: 0 / 456.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of Templates: time 0.007862/0.3217, allocations: 3.792 MB / 460 MB, free: 6.652 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (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 -s cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)