Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.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.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001243/0.001243, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.283/1.283, allocations: 205.1 MB / 224.6 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.1759/0.1759, allocations: 37.98 MB / 309.9 MB, free: 5.949 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.001402/0.001402, allocations: 67.91 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08793/0.08934, allocations: 55.25 MB / 487.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005521/0.09489, allocations: 4.417 MB / 492.2 MB, free: 3.902 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002296/0.09721, allocations: 1.469 MB / 493.7 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000239/0.09747, allocations: 11.94 kB / 493.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.09857, allocations: 378.5 kB / 494 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006285/0.09921, allocations: 250.8 kB / 494.3 MB, free: 1.797 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006642/0.09989, allocations: 247.4 kB / 494.5 MB, free: 1.555 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006337/0.1005, allocations: 0.5534 MB / 495.1 MB, free: 1 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004511/0.101, allocations: 289 kB / 495.4 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004218/0.1014, allocations: 259 kB / 495.6 MB, free: 480 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005092/0.102, allocations: 351 kB / 496 MB, free: 128 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.075e-05/0.102, allocations: 40 kB / 496 MB, free: 88 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000463/0.1025, allocations: 227.6 kB / 496.2 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.1028, allocations: 239.5 kB / 496.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003131/0.1031, allocations: 258.7 kB / 496.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000745/0.1038, allocations: 0.6698 MB / 497.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1039, allocations: 0 / 497.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1039, allocations: 0 / 497.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.1039, allocations: 0 / 497.4 MB, free: 14.7 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001432/0.1053, allocations: 0.77 MB / 498.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.1054, allocations: 15.89 kB / 498.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000621/0.106, allocations: 96.19 kB / 498.3 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007294/0.1067, allocations: 431.2 kB / 498.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.1068, allocations: 25.38 kB / 498.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.1069, allocations: 60.03 kB / 498.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009641/0.1079, allocations: 0.6726 MB / 499.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.1079, allocations: 0 / 499.4 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.926e-05/0.108, allocations: 16 kB / 499.5 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001753/0.1082, allocations: 52.95 kB / 499.5 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009663/0.1092, allocations: 0.6713 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00317/0.1123, allocations: 2.425 MB / 0.4908 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005375/0.1129, allocations: 365.6 kB / 0.4912 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.1132, allocations: 253.9 kB / 0.4914 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.1133, allocations: 4.281 kB / 0.4914 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.1133, allocations: 42.83 kB / 0.4915 GB, free: 8.555 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.675e-06/0.1133, allocations: 0 / 0.4915 GB, free: 8.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002174/0.1155, allocations: 1.483 MB / 0.4929 GB, free: 7.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.1155, allocations: 81.11 kB / 0.493 GB, free: 6.922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.1158, allocations: 282.9 kB / 0.4933 GB, free: 6.637 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.1159, allocations: 33.7 kB / 0.4933 GB, free: 6.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.116, allocations: 247.7 kB / 0.4935 GB, free: 6.348 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.1161, allocations: 161.7 kB / 0.4937 GB, free: 6.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001387/0.1163, allocations: 90.16 kB / 0.4938 GB, free: 6.094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1164, allocations: 346.8 kB / 0.4941 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.1167, allocations: 229 kB / 0.4943 GB, free: 5.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003858/0.1171, allocations: 369.5 kB / 0.4947 GB, free: 5.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007634/0.1179, allocations: 0.6239 MB / 0.4953 GB, free: 4.418 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1179, allocations: 0 / 0.4953 GB, free: 4.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001232/0.1191, allocations: 0.7277 MB / 0.496 GB, free: 3.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.1192, allocations: 11.84 kB / 0.496 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008454/0.12, allocations: 0.5225 MB / 0.4965 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003239/0.1203, allocations: 77.27 kB / 0.4966 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.1207, allocations: 107.8 kB / 0.4967 GB, free: 2.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.1223, allocations: 1.714 MB / 0.4984 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.1226, allocations: 31.97 kB / 0.4984 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/0.1227, allocations: 23.98 kB / 0.4984 GB, free: 1.055 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (54): * Single equations (assignments): 51 * Array equations: 2 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002224/0.1229, allocations: 213.6 kB / 0.4986 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.415e-05/0.123, allocations: 39.47 kB / 0.4986 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008353/0.1238, allocations: 0.5668 MB / 0.4992 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1239, allocations: 0 / 0.4992 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.1239, allocations: 4 kB / 0.4992 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.876e-05/0.1239, allocations: 108.6 kB / 0.4993 GB, free: 100 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.124, allocations: 12 kB / 0.4993 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.1242, allocations: 19.97 kB / 0.4993 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.1243, allocations: 23.97 kB / 0.4994 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001131/0.1254, allocations: 0.7424 MB / 0.5001 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001209/0.1267, allocations: 1.095 MB / 0.5012 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003082/0.127, allocations: 253.3 kB / 0.5014 GB, free: 13.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.1272, allocations: 205.9 kB / 0.5016 GB, free: 13.73 MB / 398.1 MB Notification: Performance of Backend: time 5.31e-07/0.1272, allocations: 0 / 0.5016 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.1285, allocations: 0.6226 MB / 0.5022 GB, free: 13.09 MB / 398.1 MB Notification: Performance of SimCode: time 0.001678/0.1302, allocations: 1.412 MB / 0.5036 GB, free: 11.62 MB / 398.1 MB Notification: Performance of Templates: time 0.01101/0.1412, allocations: 6.198 MB / 0.5096 GB, free: 5.414 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1)