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.001138/0.001138, allocations: 110.9 kB / 17.74 MB, free: 5.352 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.001219/0.001219, allocations: 192.5 kB / 18.67 MB, free: 4.426 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.412/1.412, 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.1867/0.1867, allocations: 37.99 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.001449/0.001449, allocations: 67.91 kB / 432.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1111, allocations: 55.25 MB / 487.8 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.005118/0.1162, allocations: 3.47 MB / 491.2 MB, free: 4.863 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.1183, allocations: 1.536 MB / 492.8 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.1185, allocations: 7.938 kB / 492.8 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007913/0.1193, allocations: 263 kB / 493 MB, free: 3.051 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005843/0.1199, allocations: 278.9 kB / 493.3 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.1202, allocations: 119.7 kB / 493.4 MB, free: 2.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003701/0.1206, allocations: 343 kB / 493.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002865/0.1209, allocations: 133.9 kB / 493.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.1211, allocations: 159.3 kB / 494.1 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.1213, allocations: 151.5 kB / 494.2 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/0.1214, allocations: 16 kB / 494.2 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004633/0.1219, allocations: 331.2 kB / 494.5 MB, free: 1.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.122, allocations: 95.7 kB / 494.6 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.1221, allocations: 111.5 kB / 494.7 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004605/0.1226, allocations: 355 kB / 495.1 MB, free: 1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.1226, allocations: 7.938 kB / 495.1 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1226, allocations: 0 / 495.1 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.1226, allocations: 0 / 495.1 MB, free: 0.9922 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.0007188/0.1233, allocations: 0.5142 MB / 495.6 MB, free: 440 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1234, allocations: 11.89 kB / 495.6 MB, free: 428 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000912/0.1243, allocations: 96.53 kB / 495.7 MB, free: 332 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.1246, allocations: 271.8 kB / 496 MB, free: 20 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.1247, allocations: 12.38 kB / 496 MB, free: 8 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.207e-05/0.1248, allocations: 20.42 kB / 496 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004887/0.1253, allocations: 337.5 kB / 496.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.1253, allocations: 0 / 496.4 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.1253, allocations: 8 kB / 496.4 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-05/0.1254, allocations: 19.98 kB / 496.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004143/0.1258, allocations: 287.7 kB / 496.7 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.1274, allocations: 1.264 MB / 497.9 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.1279, allocations: 233.1 kB / 498.2 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.128, allocations: 101.7 kB / 498.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.128, allocations: 0 / 498.3 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.1281, allocations: 38.56 kB / 498.3 MB, free: 13.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.143e-06/0.1281, allocations: 0 / 498.3 MB, free: 13.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007835/0.1289, allocations: 436.3 kB / 498.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.1289, allocations: 85.23 kB / 498.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.1291, allocations: 202.6 kB / 499 MB, free: 12.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.1292, allocations: 29.7 kB / 499 MB, free: 12.8 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.656e-05/0.1293, allocations: 156 kB / 499.2 MB, free: 12.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.952e-05/0.1293, allocations: 59.11 kB / 499.2 MB, free: 12.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.939e-05/0.1294, allocations: 41.7 kB / 499.3 MB, free: 12.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1295, allocations: 334.8 kB / 499.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.1297, allocations: 87.89 kB / 499.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.1298, allocations: 160.5 kB / 499.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.1302, allocations: 260.3 kB / 0.4884 GB, free: 11.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.809e-06/0.1302, allocations: 8 kB / 0.4884 GB, free: 11.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003914/0.1306, allocations: 297.1 kB / 0.4887 GB, free: 11.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1306, allocations: 11.92 kB / 0.4887 GB, free: 11.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1307, allocations: 4 kB / 0.4887 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.1307, allocations: 7.938 kB / 0.4887 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.1309, allocations: 51.97 kB / 0.4887 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.1309, allocations: 7.938 kB / 0.4887 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.1311, allocations: 11.98 kB / 0.4888 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.1311, allocations: 12.28 kB / 0.4888 GB, free: 11.23 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.0001345/0.1312, allocations: 157.7 kB / 0.4889 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.366e-05/0.1313, allocations: 19.81 kB / 0.4889 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/0.1317, allocations: 227.3 kB / 0.4892 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1317, allocations: 7.938 kB / 0.4892 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1317, allocations: 0 / 0.4892 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.1317, allocations: 3.984 kB / 0.4892 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.1329, allocations: 0.9476 MB / 0.4901 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.133, allocations: 4 kB / 0.4901 GB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.1331, allocations: 35.92 kB / 0.4901 GB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.1331, allocations: 4 kB / 0.4901 GB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.1331, allocations: 12 kB / 0.4901 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.757e-06/0.1332, allocations: 16.36 kB / 0.4902 GB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.1332, allocations: 7.984 kB / 0.4902 GB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.1335, allocations: 412.9 kB / 0.4906 GB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.1336, allocations: 104.8 kB / 0.4907 GB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.1337, allocations: 8 kB / 0.4907 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.1338, allocations: 19.92 kB / 0.4907 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.1339, allocations: 19.92 kB / 0.4907 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.1339, allocations: 11.94 kB / 0.4907 GB, free: 9.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.134, allocations: 151 kB / 0.4909 GB, free: 8.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.134, allocations: 0 / 0.4909 GB, free: 8.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004937/0.1345, allocations: 52 kB / 0.4909 GB, free: 8.832 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.0001323/0.1347, allocations: 111.1 kB / 0.491 GB, free: 8.715 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003953/0.1351, allocations: 228.5 kB / 0.4912 GB, free: 8.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1351, allocations: 4.062 kB / 0.4912 GB, free: 8.488 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.1352, allocations: 95.77 kB / 0.4913 GB, free: 8.395 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005079/0.1358, allocations: 52.36 kB / 0.4914 GB, free: 8.344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.1369, allocations: 0.6063 MB / 0.492 GB, free: 7.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.1373, 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.03e-05/0.1374, allocations: 31.42 kB / 0.4927 GB, free: 6.848 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1374, allocations: 4 kB / 0.4927 GB, free: 6.844 MB / 382.1 MB Notification: Performance of Templates: time 0.005186/0.1426, allocations: 2.666 MB / 0.4954 GB, free: 4.172 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)