Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001091/0.001092, allocations: 191.9 kB / 17.27 MB, free: 4.5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.288/1.288, allocations: 194.2 MB / 212.2 MB, free: 2.371 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001654/0.001654, allocations: 130.2 kB / 256.6 MB, free: 4.34 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1633/0.1633, allocations: 37.95 MB / 338.8 MB, free: 2.219 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 67.91 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09897/0.1004, allocations: 52.18 MB / 454 MB, free: 16.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.003898/0.1044, allocations: 3.665 MB / 457.7 MB, free: 12.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.106, allocations: 1.552 MB / 459.2 MB, free: 11.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.1061, allocations: 15.88 kB / 459.2 MB, free: 11.32 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006721/0.1068, allocations: 227.3 kB / 459.4 MB, free: 11.1 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005369/0.1073, allocations: 275.1 kB / 459.7 MB, free: 10.83 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002863/0.1076, allocations: 95.77 kB / 459.8 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003849/0.108, allocations: 0.569 MB / 460.4 MB, free: 10.16 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002655/0.1083, allocations: 134 kB / 460.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.1085, allocations: 127.4 kB / 460.6 MB, free: 9.91 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002555/0.1087, allocations: 167.4 kB / 460.8 MB, free: 9.746 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.1088, allocations: 8 kB / 460.8 MB, free: 9.738 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005521/0.1093, allocations: 379.1 kB / 461.2 MB, free: 9.367 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.179e-05/0.1094, allocations: 103.7 kB / 461.3 MB, free: 9.266 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.139e-05/0.1095, allocations: 95.48 kB / 461.4 MB, free: 9.172 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.1099, allocations: 366.8 kB / 461.7 MB, free: 8.812 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1099, allocations: 0 / 461.7 MB, free: 8.812 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1099, allocations: 0 / 461.7 MB, free: 8.812 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.758e-06/0.1099, allocations: 0 / 461.7 MB, free: 8.812 MB / 314.7 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.0005302/0.1104, allocations: 0.5143 MB / 462.2 MB, free: 8.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.1105, allocations: 12.03 kB / 462.3 MB, free: 8.238 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007357/0.1112, allocations: 88.55 kB / 462.3 MB, free: 8.152 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.1115, allocations: 256.5 kB / 462.6 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1115, allocations: 16.12 kB / 462.6 MB, free: 7.848 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.1115, allocations: 16 kB / 462.6 MB, free: 7.832 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003378/0.1119, allocations: 318.3 kB / 462.9 MB, free: 7.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1119, allocations: 4 kB / 462.9 MB, free: 7.496 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.1119, allocations: 4 kB / 462.9 MB, free: 7.492 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/0.112, allocations: 19.92 kB / 463 MB, free: 7.473 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003086/0.1123, allocations: 295.6 kB / 463.2 MB, free: 7.184 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.1135, allocations: 1.293 MB / 464.5 MB, free: 5.789 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.1138, allocations: 238.2 kB / 464.8 MB, free: 5.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.717e-05/0.1139, allocations: 57.75 kB / 464.8 MB, free: 5.457 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.1139, allocations: 0 / 464.8 MB, free: 5.457 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.1139, allocations: 38.56 kB / 464.9 MB, free: 5.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 9.11e-07/0.1139, allocations: 0 / 464.9 MB, free: 5.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004697/0.1144, allocations: 300.1 kB / 465.2 MB, free: 5.109 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.1145, allocations: 81.11 kB / 465.2 MB, free: 5.012 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.1146, allocations: 190.4 kB / 465.4 MB, free: 4.812 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.1146, allocations: 29.7 kB / 465.5 MB, free: 4.777 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/0.1147, allocations: 167.7 kB / 465.6 MB, free: 4.605 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.1147, allocations: 47.3 kB / 465.7 MB, free: 4.559 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.1148, allocations: 45.7 kB / 465.7 MB, free: 4.508 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.58e-05/0.1148, allocations: 326.8 kB / 466 MB, free: 4.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.246e-05/0.1149, allocations: 47.97 kB / 466.1 MB, free: 4.133 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.399e-05/0.115, allocations: 141.5 kB / 466.2 MB, free: 3.949 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.1152, allocations: 220.6 kB / 466.4 MB, free: 3.688 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1152, allocations: 3.938 kB / 466.4 MB, free: 3.684 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002374/0.1154, allocations: 229.3 kB / 466.7 MB, free: 3.453 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1154, allocations: 8 kB / 466.7 MB, free: 3.445 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1155, allocations: 4 kB / 466.7 MB, free: 3.441 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1155, allocations: 4 kB / 466.7 MB, free: 3.438 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.1156, allocations: 43.98 kB / 466.7 MB, free: 3.395 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.1156, allocations: 8 kB / 466.7 MB, free: 3.387 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.975e-05/0.1157, allocations: 11.98 kB / 466.7 MB, free: 3.375 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.1157, allocations: 8 kB / 466.7 MB, free: 3.367 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (25): * Single equations (assignments): 25 * 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 9.159e-05/0.1158, allocations: 168.3 kB / 466.9 MB, free: 3.195 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.1159, allocations: 19.8 kB / 466.9 MB, free: 3.176 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.1161, allocations: 147.1 kB / 467.1 MB, free: 3.031 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-06/0.1161, allocations: 0 / 467.1 MB, free: 3.031 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.1161, allocations: 4 kB / 467.1 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1161, allocations: 0 / 467.1 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006071/0.1167, allocations: 0.6693 MB / 467.7 MB, free: 2.262 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.1167, allocations: 7.938 kB / 467.7 MB, free: 2.254 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.491e-05/0.1168, allocations: 27.97 kB / 467.8 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1168, allocations: 7.984 kB / 467.8 MB, free: 2.219 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.1169, allocations: 8 kB / 467.8 MB, free: 2.211 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1169, allocations: 4 kB / 467.8 MB, free: 2.207 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1169, allocations: 7.938 kB / 467.8 MB, free: 2.199 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004421/0.1173, allocations: 0.9578 MB / 468.8 MB, free: 1.141 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.1174, allocations: 100.8 kB / 468.9 MB, free: 1.023 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.1174, allocations: 8 kB / 468.9 MB, free: 1.016 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.1175, allocations: 8 kB / 468.9 MB, free: 1.008 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.1176, allocations: 27.86 kB / 468.9 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.1176, allocations: 8 kB / 468.9 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.56e-05/0.1177, allocations: 135.2 kB / 469 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1177, allocations: 0 / 469 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000542/0.1182, allocations: 48 kB / 469.1 MB, free: 0.793 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.19e-05/0.1183, allocations: 107.2 kB / 469.2 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.1185, allocations: 131.8 kB / 469.3 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.1185, allocations: 4 kB / 469.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.144e-05/0.1186, allocations: 65.53 kB / 469.4 MB, free: 496 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.119, allocations: 39.98 kB / 469.4 MB, free: 456 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008602/0.1199, allocations: 0.719 MB / 470.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.1203, allocations: 0.7674 MB / 470.9 MB, free: 14.85 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001401/0.1204, allocations: 41.52 kB / 471 MB, free: 14.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.1205, allocations: 15.44 kB / 471 MB, free: 14.8 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1205, allocations: 0 / 471 MB, free: 14.8 MB / 330.7 MB Notification: Performance of Templates: time 0.004043/0.1245, allocations: 1.32 MB / 472.3 MB, free: 13.48 MB / 330.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)