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.001004/0.001004, allocations: 108.4 kB / 17.74 MB, free: 5.23 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.0009833/0.0009833, allocations: 188.5 kB / 18.67 MB, free: 4.309 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.222/1.222, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1678/0.1678, allocations: 37.97 MB / 309.9 MB, free: 5.988 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.001393/0.001393, allocations: 63.91 kB / 432.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09028/0.09168, allocations: 55.25 MB / 487.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.005346/0.09708, allocations: 4.577 MB / 492.4 MB, free: 3.746 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002335/0.09945, allocations: 1.512 MB / 493.9 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.09963, allocations: 11.94 kB / 493.9 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009624/0.1006, allocations: 382.8 kB / 494.3 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004413/0.1011, allocations: 238.8 kB / 494.5 MB, free: 1.605 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005991/0.1017, allocations: 255.4 kB / 494.7 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005506/0.1023, allocations: 0.5533 MB / 495.3 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000447/0.1027, allocations: 342.5 kB / 495.6 MB, free: 484 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003077/0.103, allocations: 263 kB / 495.9 MB, free: 220 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000415/0.1035, allocations: 311.1 kB / 496.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.531e-05/0.1035, allocations: 32 kB / 496.2 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.1038, allocations: 147.7 kB / 496.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.104, allocations: 231.4 kB / 496.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002331/0.1042, allocations: 242.8 kB / 496.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005412/0.1048, allocations: 0.5957 MB / 497.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1048, allocations: 0 / 497.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1048, allocations: 0 / 497.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.1048, allocations: 0 / 497.4 MB, free: 14.67 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.001207/0.106, allocations: 0.7698 MB / 498.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.1061, allocations: 19.89 kB / 498.2 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005442/0.1066, allocations: 96.16 kB / 498.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005678/0.1072, allocations: 416 kB / 498.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.1072, allocations: 33.38 kB / 498.7 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.1074, allocations: 60.09 kB / 498.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008343/0.1082, allocations: 0.6449 MB / 499.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.1083, allocations: 0 / 499.5 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.993e-05/0.1083, allocations: 16 kB / 499.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/0.1084, allocations: 36.98 kB / 499.5 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006754/0.1091, allocations: 483.5 kB / 500 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002999/0.1121, allocations: 2.999 MB / 0.4912 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002675/0.1124, allocations: 181.1 kB / 0.4914 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.1125, allocations: 113.7 kB / 0.4915 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.1126, allocations: 7.984 kB / 0.4915 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.1126, allocations: 34.56 kB / 0.4915 GB, free: 8.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.553e-06/0.1126, allocations: 0 / 0.4915 GB, free: 8.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.001215/0.1138, allocations: 0.8352 MB / 0.4923 GB, free: 7.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.1139, allocations: 89.17 kB / 0.4924 GB, free: 7.445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.1142, allocations: 345.5 kB / 0.4927 GB, free: 7.102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.1142, allocations: 33.64 kB / 0.4928 GB, free: 7.062 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.1144, allocations: 310.9 kB / 0.4931 GB, free: 6.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/0.1145, allocations: 71 kB / 0.4931 GB, free: 6.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.1146, allocations: 89.94 kB / 0.4932 GB, free: 6.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1147, allocations: 346.8 kB / 0.4936 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.1149, allocations: 128.8 kB / 0.4937 GB, free: 6.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/0.1152, allocations: 330.8 kB / 0.494 GB, free: 5.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005167/0.1157, allocations: 498.2 kB / 0.4945 GB, free: 5.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1157, allocations: 0 / 0.4945 GB, free: 5.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009127/0.1166, allocations: 0.568 MB / 0.495 GB, free: 4.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1167, allocations: 12.19 kB / 0.495 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004588/0.1171, allocations: 272.4 kB / 0.4953 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003121/0.1174, allocations: 80.78 kB / 0.4954 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.1178, allocations: 99.81 kB / 0.4955 GB, free: 4.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.1193, allocations: 1.723 MB / 0.4971 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.1195, allocations: 16 kB / 0.4972 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.1195, allocations: 24.05 kB / 0.4972 GB, free: 2.168 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.0002173/0.1198, allocations: 225.5 kB / 0.4974 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.717e-05/0.1198, allocations: 39.66 kB / 0.4974 GB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004576/0.1203, allocations: 288.6 kB / 0.4977 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1203, allocations: 4 kB / 0.4977 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.1203, allocations: 0 / 0.4977 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.1203, allocations: 3.984 kB / 0.4977 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.1214, allocations: 0.7888 MB / 0.4985 GB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1214, allocations: 0 / 0.4985 GB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002747/0.1217, allocations: 59.91 kB / 0.4985 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1217, allocations: 0 / 0.4985 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.1217, allocations: 11.94 kB / 0.4986 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1217, allocations: 0 / 0.4986 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1217, allocations: 12 kB / 0.4986 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005111/0.1223, allocations: 481.4 kB / 0.499 GB, free: 176 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.1223, allocations: 100.7 kB / 0.4991 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.1224, allocations: 12.03 kB / 0.4991 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001539/0.1225, allocations: 11.94 kB / 0.4991 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.1226, allocations: 19.92 kB / 0.4992 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.1226, allocations: 11.98 kB / 0.4992 GB, free: 0 / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002001/0.1228, allocations: 231.2 kB / 0.4994 GB, free: 15.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1228, allocations: 0 / 0.4994 GB, free: 15.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004238/0.1232, allocations: 96 kB / 0.4995 GB, free: 15.68 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 9.628e-05/0.1233, allocations: 103.2 kB / 0.4996 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006487/0.124, allocations: 444 kB / 0.5 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.124, allocations: 0 / 0.5 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.1242, allocations: 123.8 kB / 0.5001 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.1246, allocations: 75 kB / 0.5002 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.1261, allocations: 1.022 MB / 0.5012 GB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.1265, allocations: 0.874 MB / 0.5021 GB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.257e-05/0.1266, allocations: 27.44 kB / 0.5021 GB, free: 12.94 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1266, allocations: 0 / 0.5021 GB, free: 12.94 MB / 398.1 MB Notification: Performance of Templates: time 0.007249/0.1338, allocations: 5.735 MB / 0.5077 GB, free: 7.191 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)