Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.00143/0.00143, allocations: 200 kB / 18.01 MB, free: 5.055 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.598/1.598, allocations: 205.1 MB / 223.9 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.1994/0.1994, allocations: 37.99 MB / 309.2 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.001447/0.001447, allocations: 71.91 kB / 431.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1123, allocations: 55.24 MB / 487.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.005167/0.1175, allocations: 3.474 MB / 490.6 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.1197, allocations: 1.536 MB / 492.1 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001338/0.1199, allocations: 11.94 kB / 492.1 MB, free: 3.289 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009129/0.1208, allocations: 259 kB / 492.4 MB, free: 3.035 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006166/0.1214, allocations: 278.9 kB / 492.7 MB, free: 2.762 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.1218, allocations: 123.7 kB / 492.8 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004149/0.1222, allocations: 339 kB / 493.1 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.1225, allocations: 137.9 kB / 493.2 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002179/0.1227, allocations: 159.3 kB / 493.4 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.1229, allocations: 155.4 kB / 493.5 MB, free: 1.867 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.123, allocations: 16 kB / 493.6 MB, free: 1.852 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004559/0.1234, allocations: 331.1 kB / 493.9 MB, free: 1.527 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.1235, allocations: 99.77 kB / 494 MB, free: 1.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.1237, allocations: 107.5 kB / 494.1 MB, free: 1.324 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004193/0.1241, allocations: 358.9 kB / 494.4 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1241, allocations: 0 / 494.4 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1241, allocations: 0 / 494.4 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1241, allocations: 3.984 kB / 494.4 MB, free: 0.9688 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006907/0.1248, allocations: 0.5103 MB / 495 MB, free: 420 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.1249, allocations: 15.83 kB / 495 MB, free: 404 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008926/0.1258, allocations: 92.55 kB / 495.1 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.1262, allocations: 275.8 kB / 495.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.1262, allocations: 20.3 kB / 495.3 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.692e-05/0.1263, allocations: 16.38 kB / 495.4 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005559/0.1269, allocations: 329.6 kB / 495.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.1269, allocations: 0 / 495.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.1269, allocations: 4 kB / 495.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-05/0.127, allocations: 27.92 kB / 495.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004526/0.1274, allocations: 287.8 kB / 496 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.1292, allocations: 1.26 MB / 497.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.1297, allocations: 233.1 kB / 497.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.1298, allocations: 93.73 kB / 497.6 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.662e-05/0.1299, allocations: 4 kB / 497.6 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/0.1299, allocations: 38.55 kB / 497.6 MB, free: 13.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 3.296e-06/0.1299, allocations: 3.984 kB / 497.6 MB, free: 13.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008972/0.1309, allocations: 440.4 kB / 498.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/0.1309, allocations: 85.11 kB / 498.1 MB, free: 13.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.1311, allocations: 206.6 kB / 498.3 MB, free: 12.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.1312, allocations: 25.7 kB / 498.4 MB, free: 12.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.358e-05/0.1313, allocations: 152 kB / 498.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.54e-05/0.1313, allocations: 63.09 kB / 498.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.986e-05/0.1314, allocations: 49.69 kB / 498.6 MB, free: 12.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1316, allocations: 331 kB / 498.9 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.1317, allocations: 83.95 kB / 499 MB, free: 12.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.1319, allocations: 156.5 kB / 499.2 MB, free: 11.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003322/0.1322, allocations: 264.3 kB / 499.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1322, allocations: 4 kB / 499.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004204/0.1327, allocations: 297 kB / 499.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1327, allocations: 7.938 kB / 499.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.1327, allocations: 8 kB / 499.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.1327, allocations: 7.938 kB / 499.8 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.133, allocations: 56.19 kB / 499.8 MB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.133, allocations: 11.98 kB / 499.8 MB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.1332, allocations: 11.98 kB / 499.8 MB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.1332, allocations: 8 kB / 499.8 MB, free: 11.21 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002244/0.1334, allocations: 161.7 kB / 500 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.1335, allocations: 15.81 kB / 0.4883 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004308/0.1339, allocations: 227.3 kB / 0.4885 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/0.134, allocations: 7.984 kB / 0.4885 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.134, allocations: 3.938 kB / 0.4885 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.134, allocations: 4 kB / 0.4885 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.1354, allocations: 0.9476 MB / 0.4895 GB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.1354, allocations: 4 kB / 0.4895 GB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001337/0.1356, allocations: 35.92 kB / 0.4895 GB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.341e-06/0.1356, allocations: 4.5 kB / 0.4895 GB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.1356, allocations: 15.98 kB / 0.4895 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.659e-06/0.1356, allocations: 11.88 kB / 0.4895 GB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.1357, allocations: 4 kB / 0.4895 GB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005191/0.1362, allocations: 413.2 kB / 0.4899 GB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.1363, allocations: 100.8 kB / 0.49 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.1363, allocations: 12 kB / 0.49 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.1365, allocations: 11.92 kB / 0.49 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/0.1366, allocations: 27.92 kB / 0.4901 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.1366, allocations: 11.94 kB / 0.4901 GB, free: 9.008 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000153/0.1368, allocations: 151 kB / 0.4902 GB, free: 8.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1368, allocations: 0 / 0.4902 GB, free: 8.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003733/0.1371, allocations: 56 kB / 0.4903 GB, free: 8.805 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 simulation (18): * Single equations (assignments): 17 * 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.000131/0.1373, allocations: 107.1 kB / 0.4904 GB, free: 8.691 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003815/0.1377, allocations: 227.7 kB / 0.4906 GB, free: 8.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1377, allocations: 0 / 0.4906 GB, free: 8.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.1378, allocations: 101.2 kB / 0.4907 GB, free: 8.371 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.1383, allocations: 40.48 kB / 0.4907 GB, free: 8.332 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008497/0.1391, allocations: 0.5686 MB / 0.4913 GB, free: 7.691 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.1395, allocations: 0.7593 MB / 0.492 GB, free: 6.906 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.1396, allocations: 61.47 kB / 0.4921 GB, free: 6.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.59e-05/0.1397, allocations: 19.44 kB / 0.4921 GB, free: 6.82 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1397, allocations: 0 / 0.4921 GB, free: 6.82 MB / 382.1 MB Notification: Performance of Templates: time 0.00476/0.1445, allocations: 1.916 MB / 0.494 GB, free: 4.902 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1)