Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Display.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.Introductory.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Display") translateModel(PowerSystems.Examples.Introductory.Display,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Display") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009037/0.0009117, allocations: 89.06 kB / 16.65 MB, free: 6.59 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.0009541/0.0009543, allocations: 185 kB / 17.57 MB, free: 6.199 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.557/1.557, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1706/0.1706, 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.0005958/0.000596, allocations: 16 kB / 377.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.253, allocations: 56.33 MB / 433.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.006201/0.2592, allocations: 7.24 MB / 440.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004515/0.2638, allocations: 2.361 MB / 443.1 MB, free: 9.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009817/0.2648, allocations: 43.69 kB / 443.1 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00051/0.2654, allocations: 107.2 kB / 443.2 MB, free: 8.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.267, allocations: 0.5253 MB / 443.8 MB, free: 8.363 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000877/0.2679, allocations: 223.6 kB / 444 MB, free: 8.145 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001763/0.2697, allocations: 1.8 MB / 445.8 MB, free: 6.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.2711, allocations: 0.9736 MB / 446.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00075/0.2719, allocations: 413.9 kB / 447.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009279/0.2728, allocations: 0.6151 MB / 447.8 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.2729, allocations: 36 kB / 447.8 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005044/0.2734, allocations: 223.7 kB / 448 MB, free: 4.055 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003869/0.2738, allocations: 450.8 kB / 448.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005607/0.2744, allocations: 471.2 kB / 448.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009318/0.2754, allocations: 1.113 MB / 450 MB, free: 2.027 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2754, allocations: 0 / 450 MB, free: 2.027 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2754, allocations: 0 / 450 MB, free: 2.027 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.434e-05/0.2754, allocations: 0 / 450 MB, free: 2.027 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.001881/0.2773, allocations: 1.048 MB / 451.1 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.2774, allocations: 8.031 kB / 451.1 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.2784, allocations: 175.5 kB / 451.3 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009157/0.2794, allocations: 0.5812 MB / 451.8 MB, free: 128 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.73e-05/0.2794, allocations: 66.36 kB / 451.9 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/0.2797, allocations: 100 kB / 452 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.2813, allocations: 1.161 MB / 453.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.2814, allocations: 4 kB / 453.2 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.817e-05/0.2815, allocations: 35.98 kB / 453.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001576/0.2816, allocations: 85.89 kB / 453.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/0.2832, allocations: 0.9991 MB / 454.3 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005147/0.2883, allocations: 4.374 MB / 458.7 MB, free: 9.023 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.2895, allocations: 0.6297 MB / 459.3 MB, free: 8.379 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004385/0.29, allocations: 307.3 kB / 459.6 MB, free: 8.07 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.29, allocations: 12.55 kB / 459.6 MB, free: 8.059 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.2901, allocations: 39.12 kB / 459.6 MB, free: 8.012 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 3.196e-06/0.2901, allocations: 0 / 459.6 MB, free: 8.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=64): time 0.003051/0.2932, allocations: 1.742 MB / 461.4 MB, free: 6.215 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.2933, allocations: 85.61 kB / 461.5 MB, free: 6.113 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006192/0.2939, allocations: 0.5532 MB / 462 MB, free: 5.551 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.776e-05/0.2939, allocations: 37.64 kB / 462.1 MB, free: 5.508 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.2942, allocations: 434.8 kB / 462.5 MB, free: 5.074 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.2944, allocations: 220.9 kB / 462.7 MB, free: 4.855 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.2945, allocations: 97.78 kB / 462.8 MB, free: 4.754 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2946, allocations: 382.8 kB / 463.2 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004344/0.2951, allocations: 285.8 kB / 463.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008606/0.2959, allocations: 0.6075 MB / 464.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.2971, allocations: 0.9691 MB / 465 MB, free: 2.211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/0.2971, allocations: 4 kB / 465 MB, free: 2.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002168/0.2993, allocations: 1.18 MB / 466.2 MB, free: 1.012 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.027e-05/0.2994, allocations: 8 kB / 466.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001368/0.3007, allocations: 0.7182 MB / 466.9 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007708/0.3015, allocations: 218.8 kB / 467.1 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007962/0.3023, allocations: 219.6 kB / 467.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005334/0.3077, allocations: 4.93 MB / 472.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007125/0.3084, allocations: 36.12 kB / 472.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.919e-05/0.3085, allocations: 43.98 kB / 472.4 MB, free: 10.42 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_cap.color_n[3],phasor_cap.color_n[1],phasor_cap.color_p[3],phasor_cap.color_p[1],phasor_ind.color_n[3],phasor_ind.color_n[1],phasor_ind.color_p[3],phasor_ind.color_p[1],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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%), (2,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006441/0.3091, allocations: 349.5 kB / 472.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.3093, allocations: 67.16 kB / 472.8 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.3105, allocations: 0.6538 MB / 473.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.3105, allocations: 8 kB / 473.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.3105, allocations: 0 / 473.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.3105, allocations: 3.984 kB / 473.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/0.3134, allocations: 1.539 MB / 475 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.3134, allocations: 0 / 475 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000768/0.3142, allocations: 175.8 kB / 475.2 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.024e-06/0.3142, allocations: 11.94 kB / 475.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.809e-05/0.3142, allocations: 20.14 kB / 475.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.3142, allocations: 4 kB / 475.2 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.3143, allocations: 7.938 kB / 475.2 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001374/0.3156, allocations: 1.018 MB / 476.2 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/0.3159, allocations: 180.3 kB / 476.4 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.038e-05/0.3159, allocations: 16 kB / 476.4 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/0.3162, allocations: 15.98 kB / 476.4 MB, free: 6.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.3164, allocations: 52.44 kB / 476.5 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.795e-05/0.3164, allocations: 19.98 kB / 476.5 MB, free: 6.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004127/0.3168, allocations: 358.8 kB / 476.8 MB, free: 5.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3168, allocations: 7.938 kB / 476.9 MB, free: 5.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008803/0.3177, allocations: 220 kB / 477.1 MB, free: 5.586 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001883/0.3179, allocations: 123.3 kB / 477.2 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001739/0.3197, allocations: 1.107 MB / 478.3 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3197, allocations: 0 / 478.3 MB, free: 4.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000449/0.3201, allocations: 315 kB / 478.6 MB, free: 4.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009015/0.321, allocations: 151.1 kB / 478.8 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003177/0.3242, allocations: 2.39 MB / 481.1 MB, free: 1.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006809/0.3249, allocations: 1.067 MB / 482.2 MB, free: 336 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006271/0.3256, allocations: 237.5 kB / 482.4 MB, free: 96 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.3257, allocations: 55.42 kB / 482.5 MB, free: 40 kB / 350.1 MB Notification: Performance of SimCode: time 2.715e-06/0.3257, allocations: 0 / 482.5 MB, free: 40 kB / 350.1 MB Notification: Performance of Templates: time 0.01388/0.3396, allocations: 7.84 MB / 490.3 MB, free: 8.223 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Display.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Display.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Display -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Display.pipe 2>&1) Environment - environmentSimulation: