Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.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.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009714/0.0009714, allocations: 105 kB / 17.05 MB, free: 6.145 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.0009905/0.0009905, allocations: 191.1 kB / 18 MB, free: 5.219 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.259/1.259, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1696/0.1696, allocations: 37.98 MB / 309.2 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.001395/0.001395, allocations: 67.91 kB / 431.9 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08829/0.08969, allocations: 55.24 MB / 487.1 MB, free: 8.344 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005586/0.09531, allocations: 4.581 MB / 491.7 MB, free: 3.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002265/0.0976, allocations: 1.508 MB / 493.2 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002484/0.09788, allocations: 15.88 kB / 493.2 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.09889, allocations: 374.4 kB / 493.6 MB, free: 1.832 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005428/0.09945, allocations: 246.8 kB / 493.8 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006192/0.1001, allocations: 247.4 kB / 494.1 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005966/0.1007, allocations: 0.565 MB / 494.6 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004536/0.1012, allocations: 338.5 kB / 495 MB, free: 468 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000403/0.1016, allocations: 267 kB / 495.2 MB, free: 200 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004848/0.1021, allocations: 303 kB / 495.5 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.178e-05/0.1021, allocations: 36 kB / 495.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000287/0.1024, allocations: 151.7 kB / 495.7 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002035/0.1027, allocations: 219.4 kB / 495.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002636/0.1029, allocations: 254.8 kB / 496.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005983/0.1035, allocations: 0.5957 MB / 496.8 MB, free: 14.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1035, allocations: 0 / 496.8 MB, free: 14.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.1036, allocations: 0 / 496.8 MB, free: 14.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.1036, allocations: 0 / 496.8 MB, free: 14.65 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001247/0.1048, allocations: 0.7698 MB / 497.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.1049, allocations: 11.89 kB / 497.5 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005594/0.1054, allocations: 100.2 kB / 497.6 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005987/0.106, allocations: 420 kB / 498 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.588e-05/0.1061, allocations: 29.38 kB / 498.1 MB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.1062, allocations: 56.09 kB / 498.1 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008275/0.1071, allocations: 0.6488 MB / 498.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.1071, allocations: 7.938 kB / 498.8 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.014e-05/0.1071, allocations: 20 kB / 498.8 MB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.1072, allocations: 28.98 kB / 498.8 MB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000673/0.1079, allocations: 483.5 kB / 499.3 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003017/0.111, allocations: 2.999 MB / 0.4905 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.1113, allocations: 189 kB / 0.4907 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.1115, allocations: 105.7 kB / 0.4908 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.1115, allocations: 0 / 0.4908 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1115, allocations: 34.56 kB / 0.4908 GB, free: 8.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.422e-06/0.1116, allocations: 0 / 0.4908 GB, free: 8.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.001317/0.1129, allocations: 0.8508 MB / 0.4917 GB, free: 7.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.1129, allocations: 77.11 kB / 0.4917 GB, free: 7.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.1133, allocations: 345.5 kB / 0.4921 GB, free: 7.086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.1133, allocations: 33.64 kB / 0.4921 GB, free: 7.047 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.1135, allocations: 302.9 kB / 0.4924 GB, free: 6.742 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.18e-05/0.1135, allocations: 75 kB / 0.4925 GB, free: 6.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.1137, allocations: 89.94 kB / 0.4926 GB, free: 6.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1138, allocations: 346.8 kB / 0.4929 GB, free: 6.227 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.114, allocations: 128.8 kB / 0.493 GB, free: 6.102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002737/0.1143, allocations: 334.8 kB / 0.4933 GB, free: 5.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005062/0.1148, allocations: 0.4903 MB / 0.4938 GB, free: 5.094 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.1148, allocations: 4 kB / 0.4938 GB, free: 5.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009493/0.1158, allocations: 0.5603 MB / 0.4944 GB, free: 4.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.1158, allocations: 8 kB / 0.4944 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004749/0.1163, allocations: 276.4 kB / 0.4946 GB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003262/0.1166, allocations: 80.78 kB / 0.4947 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.1169, allocations: 95.83 kB / 0.4948 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.1185, allocations: 1.734 MB / 0.4965 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.1187, allocations: 24.05 kB / 0.4965 GB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.1188, allocations: 24 kB / 0.4965 GB, free: 2.137 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002325/0.119, allocations: 221.5 kB / 0.4967 GB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/0.1191, allocations: 35.53 kB / 0.4968 GB, free: 1.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004406/0.1195, allocations: 280.7 kB / 0.497 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1195, allocations: 7.984 kB / 0.4971 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.1195, allocations: 0 / 0.4971 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1195, allocations: 8 kB / 0.4971 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.1207, allocations: 0.781 MB / 0.4978 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.1207, allocations: 4 kB / 0.4978 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.121, allocations: 51.91 kB / 0.4979 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.121, allocations: 4 kB / 0.4979 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.353e-05/0.121, allocations: 4 kB / 0.4979 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.121, allocations: 8.062 kB / 0.4979 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.121, allocations: 7.922 kB / 0.4979 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005596/0.1216, allocations: 481.5 kB / 0.4984 GB, free: 164 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.046e-05/0.1217, allocations: 108.8 kB / 0.4985 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.869e-05/0.1218, allocations: 4 kB / 0.4985 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.1219, allocations: 15.94 kB / 0.4985 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.122, allocations: 19.95 kB / 0.4985 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.122, allocations: 8 kB / 0.4985 GB, free: 15.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002272/0.1222, allocations: 235.1 kB / 0.4987 GB, free: 15.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1223, allocations: 0 / 0.4987 GB, free: 15.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004711/0.1227, allocations: 96 kB / 0.4988 GB, free: 15.67 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (24): * Single equations (assignments): 23 * 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.0001171/0.1229, allocations: 107.1 kB / 0.4989 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006988/0.1236, allocations: 443.7 kB / 0.4994 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1236, allocations: 0 / 0.4994 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.1237, allocations: 112.3 kB / 0.4995 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.1242, allocations: 87.17 kB / 0.4995 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.1258, allocations: 0.981 MB / 0.5005 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.1263, allocations: 0.8663 MB / 0.5013 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002501/0.1265, allocations: 115.2 kB / 0.5015 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/0.1266, allocations: 31.42 kB / 0.5015 GB, free: 12.86 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1266, allocations: 0 / 0.5015 GB, free: 12.86 MB / 398.1 MB Notification: Performance of Templates: time 0.007331/0.1339, allocations: 3.654 MB / 0.5051 GB, free: 9.199 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Impedance.pipe 2>&1)