Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest") 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: 112.3 kB / 17.74 MB, free: 5.293 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.001195/0.001195, allocations: 187 kB / 18.67 MB, free: 4.375 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.395/1.395, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1765/0.1765, allocations: 37.98 MB / 309.9 MB, free: 5.953 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.001421/0.001421, allocations: 67.91 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09973/0.1012, allocations: 55.25 MB / 487.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.005443/0.1067, allocations: 3.47 MB / 491.2 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.1091, allocations: 1.579 MB / 492.8 MB, free: 3.266 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002389/0.1093, allocations: 7.938 kB / 492.8 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009208/0.1103, allocations: 251 kB / 493.1 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007454/0.1111, allocations: 282.9 kB / 493.4 MB, free: 2.734 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.1115, allocations: 123.7 kB / 493.5 MB, free: 2.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005109/0.112, allocations: 346.9 kB / 493.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003429/0.1124, allocations: 133.9 kB / 493.9 MB, free: 2.145 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003511/0.1127, allocations: 159.4 kB / 494.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003279/0.1131, allocations: 155.4 kB / 494.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.1131, allocations: 16 kB / 494.3 MB, free: 1.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006277/0.1137, allocations: 331.1 kB / 494.6 MB, free: 1.496 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.1139, allocations: 95.75 kB / 494.7 MB, free: 1.402 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.1141, allocations: 111.4 kB / 494.8 MB, free: 1.293 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006308/0.1147, allocations: 355 kB / 495.1 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1147, allocations: 0 / 495.1 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1147, allocations: 0 / 495.1 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.1147, allocations: 0 / 495.1 MB, free: 0.9453 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.0008111/0.1156, allocations: 0.5143 MB / 495.7 MB, free: 392 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1156, allocations: 11.89 kB / 495.7 MB, free: 380 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.1167, allocations: 112.5 kB / 495.8 MB, free: 268 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003873/0.1171, allocations: 267.8 kB / 496 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.1171, allocations: 12.38 kB / 496 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.542e-05/0.1172, allocations: 24.36 kB / 496.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005308/0.1177, allocations: 337.6 kB / 496.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.1177, allocations: 4 kB / 496.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.688e-05/0.1178, allocations: 4 kB / 496.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/0.1178, allocations: 15.98 kB / 496.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005007/0.1183, allocations: 315.7 kB / 496.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.1201, allocations: 1.252 MB / 498 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.1204, allocations: 165.1 kB / 498.1 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.1206, allocations: 109.7 kB / 498.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.933e-05/0.1206, allocations: 0 / 498.3 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.1207, allocations: 42.5 kB / 498.3 MB, free: 13.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=17): time 1.803e-06/0.1207, allocations: 0 / 498.3 MB, free: 13.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001607/0.1223, allocations: 0.6661 MB / 499 MB, free: 12.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.1224, allocations: 81.11 kB / 499 MB, free: 12.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.1226, allocations: 194.3 kB / 499.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.1226, allocations: 29.7 kB / 499.3 MB, free: 12.53 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.534e-05/0.1227, allocations: 151.9 kB / 499.4 MB, free: 12.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.615e-05/0.1228, allocations: 67.09 kB / 499.5 MB, free: 12.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.079e-05/0.1229, allocations: 41.7 kB / 499.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.123, allocations: 330.8 kB / 499.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.1232, allocations: 87.92 kB / 499.9 MB, free: 11.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.1234, allocations: 148.5 kB / 0.4883 GB, free: 11.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003286/0.1237, allocations: 256.5 kB / 0.4886 GB, free: 11.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1237, allocations: 0 / 0.4886 GB, free: 11.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006138/0.1243, allocations: 353.7 kB / 0.4889 GB, free: 11.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.1244, allocations: 11.94 kB / 0.4889 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1244, allocations: 0 / 0.4889 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004041/0.1248, allocations: 101 kB / 0.489 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.125, allocations: 39.98 kB / 0.4891 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/0.1275, allocations: 2.158 MB / 0.4912 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.1277, allocations: 12 kB / 0.4912 GB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.599e-05/0.1277, allocations: 11.98 kB / 0.4912 GB, free: 8.559 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 (21): * Single equations (assignments): 20 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001631/0.1279, allocations: 161.7 kB / 0.4914 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.723e-05/0.1279, allocations: 15.81 kB / 0.4914 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006186/0.1286, allocations: 324 kB / 0.4917 GB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/0.1286, allocations: 4 kB / 0.4917 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.1286, allocations: 0 / 0.4917 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1286, allocations: 0 / 0.4917 GB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.1298, allocations: 0.7466 MB / 0.4924 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.1298, allocations: 4.125 kB / 0.4924 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001243/0.13, allocations: 27.92 kB / 0.4924 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002806/0.1303, allocations: 88.83 kB / 0.4925 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.1303, allocations: 0 / 0.4925 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/0.1323, allocations: 2.04 MB / 0.4945 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.862e-06/0.1323, allocations: 3.984 kB / 0.4945 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/0.1329, allocations: 418.4 kB / 0.4949 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.557e-05/0.133, allocations: 100.8 kB / 0.495 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.1331, allocations: 8 kB / 0.495 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.1332, allocations: 11.98 kB / 0.495 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.1333, allocations: 11.98 kB / 0.4951 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.1333, allocations: 4 kB / 0.4951 GB, free: 4.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.1334, allocations: 152.2 kB / 0.4952 GB, free: 4.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1334, allocations: 0 / 0.4952 GB, free: 4.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004749/0.1339, allocations: 64 kB / 0.4953 GB, free: 4.129 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001353/0.134, allocations: 99.25 kB / 0.4954 GB, free: 4.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007404/0.1348, allocations: 382.2 kB / 0.4957 GB, free: 3.633 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1348, allocations: 0 / 0.4957 GB, free: 3.633 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004039/0.1352, allocations: 259.2 kB / 0.496 GB, free: 3.367 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.1356, allocations: 40.48 kB / 0.496 GB, free: 3.328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009293/0.1365, allocations: 0.5314 MB / 0.4965 GB, free: 2.754 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.1369, allocations: 0.7636 MB / 0.4973 GB, free: 1.965 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.155e-05/0.137, allocations: 19.44 kB / 0.4973 GB, free: 1.945 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.137, allocations: 0 / 0.4973 GB, free: 1.945 MB / 382.1 MB Notification: Performance of Templates: time 0.005959/0.143, allocations: 3.519 MB / 0.5007 GB, free: 14.42 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1)