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.001741/0.001741, allocations: 114.8 kB / 17.74 MB, free: 5.344 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.00206/0.00206, allocations: 188.5 kB / 18.67 MB, free: 4.422 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.438/1.438, 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.1788/0.1788, allocations: 37.98 MB / 309.9 MB, free: 5.961 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.001641/0.001641, allocations: 59.91 kB / 432.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1069, allocations: 55.25 MB / 487.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.005462/0.1124, allocations: 3.478 MB / 491.3 MB, free: 4.852 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002317/0.1148, allocations: 1.532 MB / 492.8 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002182/0.115, allocations: 7.938 kB / 492.8 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000958/0.116, allocations: 270.9 kB / 493.1 MB, free: 3.035 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007655/0.1168, allocations: 271 kB / 493.3 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003896/0.1172, allocations: 123.6 kB / 493.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005216/0.1177, allocations: 335 kB / 493.8 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003366/0.1181, allocations: 137.9 kB / 493.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003578/0.1184, allocations: 163.2 kB / 494.1 MB, free: 2.027 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000315/0.1188, allocations: 155.5 kB / 494.2 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.035e-05/0.1188, allocations: 16 kB / 494.2 MB, free: 1.859 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007043/0.1195, allocations: 327.1 kB / 494.6 MB, free: 1.539 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.1197, allocations: 95.75 kB / 494.6 MB, free: 1.445 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.1198, allocations: 107.5 kB / 494.7 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006577/0.1205, allocations: 366.9 kB / 495.1 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1205, allocations: 0 / 495.1 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1205, allocations: 0 / 495.1 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.1205, allocations: 0 / 495.1 MB, free: 0.9805 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.0008276/0.1214, allocations: 0.5103 MB / 495.6 MB, free: 432 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1214, allocations: 15.83 kB / 495.6 MB, free: 416 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009983/0.1224, allocations: 96.53 kB / 495.7 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.1228, allocations: 275.7 kB / 496 MB, free: 4 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.1e-05/0.1229, allocations: 12.45 kB / 496 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.696e-05/0.1229, allocations: 20.28 kB / 496 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005282/0.1235, allocations: 329.7 kB / 496.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.1235, allocations: 3.938 kB / 496.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.1235, allocations: 11.98 kB / 496.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.782e-05/0.1236, allocations: 15.98 kB / 496.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004334/0.124, allocations: 287.8 kB / 496.7 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.1258, allocations: 1.264 MB / 497.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/0.1263, allocations: 233.1 kB / 498.2 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.1265, allocations: 101.7 kB / 498.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.1265, allocations: 3.984 kB / 498.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.1265, allocations: 30.56 kB / 498.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 2.845e-06/0.1265, allocations: 4 kB / 498.3 MB, free: 13.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009033/0.1274, allocations: 436.4 kB / 498.7 MB, free: 13.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.1275, allocations: 89.17 kB / 498.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.1277, allocations: 202.6 kB / 499 MB, free: 12.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.1278, allocations: 29.7 kB / 499 MB, free: 12.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.1279, allocations: 148 kB / 499.2 MB, free: 12.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.413e-05/0.1279, allocations: 63.09 kB / 499.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.635e-05/0.128, allocations: 45.7 kB / 499.3 MB, free: 12.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1282, allocations: 326.8 kB / 499.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.1283, allocations: 83.95 kB / 499.7 MB, free: 12.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.1285, allocations: 164.5 kB / 499.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000327/0.1288, allocations: 260.3 kB / 0.4884 GB, free: 11.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1289, allocations: 4 kB / 0.4884 GB, free: 11.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004441/0.1293, allocations: 301 kB / 0.4887 GB, free: 11.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.1293, allocations: 7.938 kB / 0.4887 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.1293, allocations: 4 kB / 0.4887 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.1294, allocations: 7.938 kB / 0.4887 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.1296, allocations: 51.91 kB / 0.4887 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.1296, allocations: 4 kB / 0.4887 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.1298, allocations: 16.27 kB / 0.4888 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.1298, allocations: 23.98 kB / 0.4888 GB, free: 11.22 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.000161/0.13, allocations: 149.7 kB / 0.4889 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.1301, allocations: 15.81 kB / 0.4889 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003913/0.1305, allocations: 235.3 kB / 0.4892 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1305, allocations: 7.938 kB / 0.4892 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.1305, allocations: 3.938 kB / 0.4892 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1305, allocations: 0 / 0.4892 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.1319, allocations: 0.9476 MB / 0.4901 GB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.1319, allocations: 4 kB / 0.4901 GB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.132, allocations: 31.98 kB / 0.4901 GB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.1321, allocations: 7.984 kB / 0.4901 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.1321, allocations: 12 kB / 0.4902 GB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.747e-06/0.1321, allocations: 12.38 kB / 0.4902 GB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.1321, allocations: 8 kB / 0.4902 GB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.1326, allocations: 412.8 kB / 0.4906 GB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.835e-05/0.1326, allocations: 100.8 kB / 0.4907 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.1327, allocations: 12 kB / 0.4907 GB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.1329, allocations: 11.92 kB / 0.4907 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.1329, allocations: 19.98 kB / 0.4907 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.1329, allocations: 19.94 kB / 0.4907 GB, free: 9.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.1331, allocations: 154.9 kB / 0.4909 GB, free: 8.871 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1331, allocations: 0 / 0.4909 GB, free: 8.871 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003814/0.1335, allocations: 52 kB / 0.4909 GB, free: 8.82 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.0001183/0.1336, allocations: 103.2 kB / 0.491 GB, free: 8.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003678/0.134, allocations: 232.5 kB / 0.4912 GB, free: 8.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.134, allocations: 0 / 0.4912 GB, free: 8.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.1341, allocations: 99.75 kB / 0.4913 GB, free: 8.387 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.1346, allocations: 40.44 kB / 0.4914 GB, free: 8.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009988/0.1356, allocations: 0.6102 MB / 0.492 GB, free: 7.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.136, allocations: 0.7554 MB / 0.4927 GB, free: 6.879 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.002e-05/0.1361, allocations: 23.42 kB / 0.4927 GB, free: 6.855 MB / 382.1 MB Notification: Performance of SimCode: time 1.683e-06/0.1361, allocations: 4 kB / 0.4927 GB, free: 6.852 MB / 382.1 MB Notification: Performance of Templates: time 0.005192/0.1413, allocations: 2.654 MB / 0.4953 GB, free: 4.191 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)