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.001265/0.001265, allocations: 108.3 kB / 17.7 MB, free: 5.496 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.001238/0.001238, allocations: 183.8 kB / 18.62 MB, free: 4.578 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.263/1.263, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1652/0.1652, 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.001367/0.001367, allocations: 71.89 kB / 432.5 MB, free: 15.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09575/0.09713, allocations: 55.24 MB / 487.7 MB, free: 8.383 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005332/0.1025, allocations: 4.417 MB / 492.1 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002321/0.1048, allocations: 1.469 MB / 493.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002344/0.1051, allocations: 15.88 kB / 493.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009562/0.1061, allocations: 374.5 kB / 494 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005107/0.1066, allocations: 250.8 kB / 494.2 MB, free: 1.828 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006014/0.1072, allocations: 243.4 kB / 494.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000495/0.1077, allocations: 0.5573 MB / 495 MB, free: 1.031 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000371/0.1081, allocations: 281 kB / 495.3 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.1084, allocations: 259 kB / 495.5 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004103/0.1088, allocations: 354.9 kB / 495.9 MB, free: 164 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.338e-05/0.1089, allocations: 40 kB / 495.9 MB, free: 124 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003793/0.1093, allocations: 231.6 kB / 496.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.1095, allocations: 235.4 kB / 496.4 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002288/0.1097, allocations: 262.8 kB / 496.6 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005941/0.1103, allocations: 0.662 MB / 497.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1103, allocations: 0 / 497.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1103, allocations: 0 / 497.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1104, allocations: 0 / 497.3 MB, free: 14.74 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.001211/0.1116, allocations: 0.7699 MB / 498.1 MB, free: 13.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1116, allocations: 19.89 kB / 498.1 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000576/0.1122, allocations: 92.22 kB / 498.2 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005812/0.1128, allocations: 427.2 kB / 498.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.1128, allocations: 29.38 kB / 498.6 MB, free: 13.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.113, allocations: 48.11 kB / 498.7 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000842/0.1138, allocations: 0.6842 MB / 499.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.1139, allocations: 0 / 499.4 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.465e-05/0.1139, allocations: 15.98 kB / 499.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000168/0.1141, allocations: 56.89 kB / 499.4 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.1151, allocations: 0.6752 MB / 0.4884 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003074/0.1182, allocations: 2.417 MB / 0.4907 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.1187, allocations: 365.6 kB / 0.4911 GB, free: 8.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/0.119, allocations: 261.9 kB / 0.4913 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.1191, allocations: 4.281 kB / 0.4913 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.1191, allocations: 38.78 kB / 0.4914 GB, free: 8.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 1.773e-06/0.1191, allocations: 0 / 0.4914 GB, free: 8.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002193/0.1213, allocations: 1.479 MB / 0.4928 GB, free: 7.059 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.1214, allocations: 85.23 kB / 0.4929 GB, free: 6.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.1217, allocations: 286.9 kB / 0.4932 GB, free: 6.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.1217, allocations: 37.64 kB / 0.4932 GB, free: 6.625 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.1219, allocations: 243.7 kB / 0.4934 GB, free: 6.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.122, allocations: 157.7 kB / 0.4936 GB, free: 6.223 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.1221, allocations: 102.1 kB / 0.4937 GB, free: 6.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.1223, allocations: 342.8 kB / 0.494 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.1226, allocations: 221 kB / 0.4942 GB, free: 5.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004667/0.123, allocations: 365.6 kB / 0.4946 GB, free: 5.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007702/0.1238, allocations: 0.6278 MB / 0.4952 GB, free: 4.453 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1238, allocations: 0 / 0.4952 GB, free: 4.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001093/0.1249, allocations: 0.72 MB / 0.4959 GB, free: 3.723 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.125, allocations: 7.938 kB / 0.4959 GB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007911/0.1258, allocations: 0.5264 MB / 0.4964 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003081/0.1261, allocations: 73.12 kB / 0.4965 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.1265, allocations: 107.9 kB / 0.4966 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.128, allocations: 1.73 MB / 0.4983 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.1283, allocations: 27.97 kB / 0.4983 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/0.1284, allocations: 23.98 kB / 0.4983 GB, free: 1.09 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.0002371/0.1286, allocations: 213.6 kB / 0.4985 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.221e-05/0.1287, allocations: 43.45 kB / 0.4986 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008055/0.1295, allocations: 0.563 MB / 0.4991 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/0.1296, allocations: 15.98 kB / 0.4991 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.1296, allocations: 0 / 0.4991 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1296, allocations: 3.938 kB / 0.4991 GB, free: 248 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001797/0.1314, allocations: 1.196 MB / 0.5003 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1314, allocations: 0 / 0.5003 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003867/0.1318, allocations: 87.98 kB / 0.5004 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.1318, allocations: 7.984 kB / 0.5004 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.1318, allocations: 8 kB / 0.5004 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.1319, allocations: 4 kB / 0.5004 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1319, allocations: 3.938 kB / 0.5004 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.133, allocations: 0.9274 MB / 0.5013 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.699e-05/0.1331, allocations: 108.7 kB / 0.5014 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.1332, allocations: 12.03 kB / 0.5014 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/0.1334, allocations: 19.97 kB / 0.5015 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.1335, allocations: 31.91 kB / 0.5015 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/0.1335, allocations: 11.98 kB / 0.5015 GB, free: 13.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002131/0.1337, allocations: 198 kB / 0.5017 GB, free: 13.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1337, allocations: 4 kB / 0.5017 GB, free: 13.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000562/0.1343, allocations: 116 kB / 0.5018 GB, free: 13.4 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (39): * Single equations (assignments): 36 * Array equations: 2 * 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.000236/0.1345, allocations: 143.2 kB / 0.5019 GB, free: 13.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.1356, allocations: 0.6729 MB / 0.5026 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1356, allocations: 0 / 0.5026 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003229/0.1359, allocations: 263.5 kB / 0.5029 GB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004989/0.1364, allocations: 72.47 kB / 0.5029 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.1382, allocations: 1.211 MB / 0.5041 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.1386, allocations: 0.8782 MB / 0.505 GB, free: 10.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.1388, allocations: 35.44 kB / 0.505 GB, free: 10.04 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1388, allocations: 0 / 0.505 GB, free: 10.04 MB / 398.1 MB Notification: Performance of Templates: time 0.008919/0.1477, allocations: 6.479 MB / 0.5113 GB, free: 3.547 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)