Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001652/0.001652, allocations: 189.5 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.297/1.297, allocations: 194.2 MB / 212.2 MB, free: 2.367 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.001803/0.001803, allocations: 126 kB / 256.6 MB, free: 4.309 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1708/0.1708, allocations: 37.94 MB / 338.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.91 kB / 401.8 MB, free: 68.75 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09794/0.09918, allocations: 52.19 MB / 454 MB, free: 16.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.004684/0.1039, allocations: 4.701 MB / 458.7 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.1054, allocations: 1.142 MB / 459.8 MB, free: 10.69 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/0.1056, allocations: 27.81 kB / 459.9 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.1058, allocations: 39.69 kB / 459.9 MB, free: 10.62 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003947/0.1062, allocations: 155.2 kB / 460.1 MB, free: 10.47 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.1064, allocations: 79.91 kB / 460.1 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003503/0.1067, allocations: 0.5296 MB / 460.7 MB, free: 9.863 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002034/0.1069, allocations: 105.6 kB / 460.8 MB, free: 9.762 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.1071, allocations: 159.2 kB / 460.9 MB, free: 9.605 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.1074, allocations: 183.3 kB / 461.1 MB, free: 9.426 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.1075, allocations: 16 kB / 461.1 MB, free: 9.41 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.941e-05/0.1075, allocations: 12 kB / 461.1 MB, free: 9.398 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.534e-05/0.1076, allocations: 91.7 kB / 461.2 MB, free: 9.309 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.1077, allocations: 135.3 kB / 461.4 MB, free: 9.176 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.1079, allocations: 274.9 kB / 461.6 MB, free: 8.906 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1079, allocations: 7.938 kB / 461.6 MB, free: 8.898 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.108, allocations: 0 / 461.6 MB, free: 8.898 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.108, allocations: 0 / 461.6 MB, free: 8.898 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008226/0.1088, allocations: 0.5894 MB / 462.2 MB, free: 8.262 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1088, allocations: 8.031 kB / 462.2 MB, free: 8.254 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.797e-05/0.1089, allocations: 32.56 kB / 462.3 MB, free: 8.223 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.1093, allocations: 326.9 kB / 462.6 MB, free: 7.867 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.1093, allocations: 20.38 kB / 462.6 MB, free: 7.844 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.1094, allocations: 20 kB / 462.6 MB, free: 7.824 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.1097, allocations: 294.8 kB / 462.9 MB, free: 7.504 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1097, allocations: 0 / 462.9 MB, free: 7.504 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.1097, allocations: 8 kB / 462.9 MB, free: 7.496 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.1097, allocations: 4 kB / 462.9 MB, free: 7.492 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.11, allocations: 184.9 kB / 463.1 MB, free: 7.312 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.111, allocations: 1.232 MB / 464.3 MB, free: 5.992 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.1113, allocations: 109.2 kB / 464.4 MB, free: 5.867 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.853e-05/0.1113, allocations: 49.7 kB / 464.5 MB, free: 5.812 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.1114, allocations: 3.984 kB / 464.5 MB, free: 5.809 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.1114, allocations: 34.56 kB / 464.5 MB, free: 5.766 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.1114, allocations: 4 kB / 464.5 MB, free: 5.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.000655/0.112, allocations: 484.3 kB / 465 MB, free: 5.234 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.1121, allocations: 85.05 kB / 465.1 MB, free: 5.133 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.1122, allocations: 250.6 kB / 465.3 MB, free: 4.879 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.1123, allocations: 29.7 kB / 465.4 MB, free: 4.844 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.096e-05/0.1123, allocations: 195.6 kB / 465.5 MB, free: 4.648 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.1124, allocations: 39.58 kB / 465.6 MB, free: 4.609 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.783e-05/0.1124, allocations: 41.7 kB / 465.6 MB, free: 4.562 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.464e-05/0.1125, allocations: 334.8 kB / 466 MB, free: 4.227 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.694e-05/0.1125, allocations: 43.97 kB / 466 MB, free: 4.184 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.802e-05/0.1126, allocations: 128.9 kB / 466.1 MB, free: 4.012 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.1128, allocations: 188.6 kB / 466.3 MB, free: 3.781 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1128, allocations: 0 / 466.3 MB, free: 3.781 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002261/0.113, allocations: 201.8 kB / 466.5 MB, free: 3.578 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.113, allocations: 8.438 kB / 466.5 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1131, allocations: 8 kB / 466.5 MB, free: 3.562 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1131, allocations: 4 kB / 466.5 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1132, allocations: 43.92 kB / 466.6 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.1132, allocations: 12.02 kB / 466.6 MB, free: 3.504 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.483e-05/0.1133, allocations: 15.88 kB / 466.6 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1134, allocations: 8 kB / 466.6 MB, free: 3.48 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 (24): * Single equations (assignments): 24 * 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.393e-05/0.1135, allocations: 157.7 kB / 466.8 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.492e-05/0.1135, allocations: 19.72 kB / 466.8 MB, free: 3.297 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.1137, allocations: 139.3 kB / 466.9 MB, free: 3.156 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1137, allocations: 0 / 466.9 MB, free: 3.156 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1137, allocations: 4 kB / 466.9 MB, free: 3.152 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1137, allocations: 7.922 kB / 466.9 MB, free: 3.145 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003766/0.1141, allocations: 479.1 kB / 467.4 MB, free: 2.617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1141, allocations: 7.984 kB / 467.4 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.1142, allocations: 19.94 kB / 467.4 MB, free: 2.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1142, allocations: 4 kB / 467.4 MB, free: 2.586 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1143, allocations: 7.969 kB / 467.4 MB, free: 2.578 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1143, allocations: 0 / 467.4 MB, free: 2.578 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1143, allocations: 4 kB / 467.4 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.1156, allocations: 1.625 MB / 469.1 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.605e-05/0.1157, allocations: 100.8 kB / 469.2 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.1157, allocations: 4 kB / 469.2 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.032e-05/0.1158, allocations: 4 kB / 469.2 MB, free: 0.6719 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/0.1159, allocations: 12.05 kB / 469.2 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.1159, allocations: 8 kB / 469.2 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.116, allocations: 170 kB / 469.3 MB, free: 496 kB / 314.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.116, allocations: 0 / 469.3 MB, free: 496 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003893/0.1164, allocations: 60 kB / 469.4 MB, free: 436 kB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (13): * Single equations (assignments): 12 * 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.311e-05/0.1165, allocations: 107.2 kB / 469.5 MB, free: 320 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001806/0.1167, allocations: 112.2 kB / 469.6 MB, free: 208 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.1167, allocations: 0 / 469.6 MB, free: 208 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.184e-05/0.1167, allocations: 47.86 kB / 469.7 MB, free: 160 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.1172, allocations: 60.73 kB / 469.7 MB, free: 100 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.1182, allocations: 0.7837 MB / 470.5 MB, free: 15.26 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.1186, allocations: 0.7755 MB / 471.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.1187, allocations: 38.2 kB / 471.3 MB, free: 14.42 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.1188, allocations: 23.44 kB / 471.3 MB, free: 14.4 MB / 330.7 MB Notification: Performance of SimCode: time 2.21e-07/0.1188, allocations: 0 / 471.3 MB, free: 14.4 MB / 330.7 MB Notification: Performance of Templates: time 0.005034/0.1238, allocations: 2.165 MB / 473.5 MB, free: 12.23 MB / 330.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1)