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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001207, allocations: 109.2 kB / 17.74 MB, free: 5.289 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.001194/0.001195, allocations: 184.3 kB / 18.67 MB, free: 4.371 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.312/1.312, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.173/0.173, allocations: 37.97 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.001427/0.001427, allocations: 64.47 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09376/0.09519, allocations: 55.24 MB / 487.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.005831/0.1011, allocations: 4.074 MB / 491.9 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.1028, allocations: 0.9438 MB / 492.8 MB, free: 3.289 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002459/0.103, allocations: 19.88 kB / 492.8 MB, free: 3.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002247/0.1033, allocations: 47.56 kB / 492.9 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005741/0.1039, allocations: 171 kB / 493 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.1041, allocations: 91.81 kB / 493.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000497/0.1047, allocations: 406.5 kB / 493.5 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.1049, allocations: 130.2 kB / 493.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003095/0.1052, allocations: 175.3 kB / 493.8 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000377/0.1056, allocations: 187.3 kB / 494 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.737e-05/0.1057, allocations: 23.94 kB / 494 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.107e-05/0.1057, allocations: 20 kB / 494 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.1058, allocations: 91.78 kB / 494.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.106, allocations: 147.1 kB / 494.3 MB, free: 1.809 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.1063, allocations: 279 kB / 494.6 MB, free: 1.535 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1063, allocations: 0 / 494.6 MB, free: 1.535 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1064, allocations: 4 kB / 494.6 MB, free: 1.531 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.1064, allocations: 0 / 494.6 MB, free: 1.531 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001026/0.1074, allocations: 0.597 MB / 495.2 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1075, allocations: 11.89 kB / 495.2 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.203e-05/0.1075, allocations: 36.55 kB / 495.2 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005437/0.1081, allocations: 335 kB / 495.5 MB, free: 488 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.1081, allocations: 24.56 kB / 495.6 MB, free: 460 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.1082, allocations: 16 kB / 495.6 MB, free: 444 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.1086, allocations: 298.8 kB / 495.9 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.1086, allocations: 0 / 495.9 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.1087, allocations: 8 kB / 495.9 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.1087, allocations: 4 kB / 495.9 MB, free: 100 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.109, allocations: 180.9 kB / 496 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.1104, allocations: 1.224 MB / 497.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.1107, allocations: 109.2 kB / 497.4 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.461e-05/0.1108, allocations: 45.77 kB / 497.4 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.1109, allocations: 7.922 kB / 497.4 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.1109, allocations: 38.56 kB / 497.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.1109, allocations: 3.938 kB / 497.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008143/0.1117, allocations: 481 kB / 497.9 MB, free: 13.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.1118, allocations: 81.3 kB / 498 MB, free: 13.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.112, allocations: 246.7 kB / 498.3 MB, free: 13.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.112, allocations: 33.64 kB / 498.3 MB, free: 13.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.1122, allocations: 199.8 kB / 498.5 MB, free: 13.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.002e-05/0.1122, allocations: 39.39 kB / 498.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.329e-05/0.1123, allocations: 45.7 kB / 498.6 MB, free: 13.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1124, allocations: 334.8 kB / 498.9 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.337e-05/0.1125, allocations: 35.98 kB / 498.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.1126, allocations: 140.6 kB / 499.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.1129, allocations: 188.7 kB / 499.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1129, allocations: 0 / 499.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000317/0.1132, allocations: 213.4 kB / 499.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1132, allocations: 8 kB / 499.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1132, allocations: 4 kB / 499.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.1132, allocations: 4 kB / 499.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.1134, allocations: 43.92 kB / 499.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.1134, allocations: 7.984 kB / 499.5 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.1136, allocations: 8 kB / 499.5 MB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.1136, allocations: 11.94 kB / 499.6 MB, free: 12.09 MB / 382.1 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 0.000133/0.1137, allocations: 157.8 kB / 499.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.1138, allocations: 23.75 kB / 499.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.114, allocations: 135.2 kB / 499.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1141, allocations: 3.984 kB / 499.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1141, allocations: 0 / 499.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.1141, allocations: 96.83 kB / 500 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.052e-05/0.1142, allocations: 7.938 kB / 500 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.1143, allocations: 0 / 500 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.059e-05/0.1143, allocations: 7.984 kB / 500 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003182/0.1146, allocations: 288.1 kB / 0.4885 GB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003616/0.115, allocations: 421.7 kB / 0.4889 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.541e-05/0.1151, allocations: 40 kB / 0.489 GB, free: 10.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001392/0.1152, allocations: 177.9 kB / 0.4891 GB, free: 10.7 MB / 382.1 MB Notification: Performance of Backend: time 4.41e-07/0.1152, allocations: 96 / 0.4891 GB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005151/0.1158, allocations: 158.2 kB / 0.4893 GB, free: 10.54 MB / 382.1 MB Notification: Performance of SimCode: time 0.001199/0.117, allocations: 1.022 MB / 0.4903 GB, free: 9.465 MB / 382.1 MB Notification: Performance of Templates: time 0.005499/0.1225, allocations: 2.157 MB / 0.4924 GB, free: 7.305 MB / 382.1 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)