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.001354/0.001354, allocations: 109.8 kB / 17.74 MB, free: 5.34 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.001526/0.001526, allocations: 193.6 kB / 18.68 MB, free: 4.41 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.44/1.44, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1706/0.1706, allocations: 37.98 MB / 309.9 MB, free: 5.957 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.001359/0.001359, allocations: 67.91 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09352/0.09489, allocations: 55.24 MB / 487.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.006222/0.1012, allocations: 4.573 MB / 492.4 MB, free: 3.746 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.1038, allocations: 1.512 MB / 493.9 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003507/0.1041, allocations: 15.88 kB / 493.9 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001187/0.1054, allocations: 378.9 kB / 494.3 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007016/0.1061, allocations: 242.8 kB / 494.5 MB, free: 1.602 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007315/0.1068, allocations: 255.4 kB / 494.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007179/0.1076, allocations: 0.5494 MB / 495.3 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000504/0.1081, allocations: 342.4 kB / 495.6 MB, free: 484 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004248/0.1085, allocations: 263 kB / 495.9 MB, free: 220 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005536/0.1091, allocations: 318.9 kB / 496.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.973e-05/0.1092, allocations: 32 kB / 496.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003291/0.1095, allocations: 143.8 kB / 496.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.1098, allocations: 227.4 kB / 496.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002861/0.1101, allocations: 242.8 kB / 496.8 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006859/0.1107, allocations: 0.5996 MB / 497.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1108, allocations: 0 / 497.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1108, allocations: 3.938 kB / 497.4 MB, free: 14.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.228e-05/0.1108, allocations: 0 / 497.4 MB, free: 14.66 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.001569/0.1124, allocations: 0.7621 MB / 498.2 MB, free: 13.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1124, allocations: 19.89 kB / 498.2 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006425/0.1131, allocations: 96.16 kB / 498.3 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006886/0.1138, allocations: 416 kB / 498.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.1138, allocations: 37.36 kB / 498.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.114, allocations: 56.11 kB / 498.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009603/0.1149, allocations: 0.6488 MB / 499.4 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.115, allocations: 3.938 kB / 499.5 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.115, allocations: 19.98 kB / 499.5 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001219/0.1152, allocations: 36.98 kB / 499.5 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007423/0.1159, allocations: 483.5 kB / 500 MB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003717/0.1196, allocations: 2.995 MB / 0.4912 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.12, allocations: 181 kB / 0.4914 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.1201, allocations: 109.7 kB / 0.4915 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.1202, allocations: 4 kB / 0.4915 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.1202, allocations: 34.56 kB / 0.4915 GB, free: 8.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.954e-06/0.1202, allocations: 0 / 0.4915 GB, free: 8.441 MB / 382.1 MB Notification: Performance of matching and sorting (n=21): time 0.00145/0.1217, allocations: 0.8429 MB / 0.4923 GB, free: 7.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.1217, allocations: 85.23 kB / 0.4924 GB, free: 7.441 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003512/0.1221, allocations: 345.5 kB / 0.4927 GB, free: 7.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.1221, allocations: 33.64 kB / 0.4928 GB, free: 7.059 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.1224, allocations: 306.9 kB / 0.4931 GB, free: 6.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.531e-05/0.1224, allocations: 71 kB / 0.4931 GB, free: 6.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.1226, allocations: 93.92 kB / 0.4932 GB, free: 6.582 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1227, allocations: 346.8 kB / 0.4935 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.1229, allocations: 128.8 kB / 0.4937 GB, free: 6.109 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003571/0.1233, allocations: 330.8 kB / 0.494 GB, free: 5.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005554/0.1238, allocations: 0.4942 MB / 0.4945 GB, free: 5.102 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1238, allocations: 0 / 0.4945 GB, free: 5.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009569/0.1248, allocations: 0.5565 MB / 0.495 GB, free: 4.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1248, allocations: 12 kB / 0.495 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000489/0.1253, allocations: 276.4 kB / 0.4953 GB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003391/0.1257, allocations: 84.78 kB / 0.4954 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.126, allocations: 95.83 kB / 0.4955 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/0.1277, allocations: 1.727 MB / 0.4971 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.128, allocations: 19.98 kB / 0.4972 GB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.128, allocations: 24.06 kB / 0.4972 GB, free: 2.156 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.0002563/0.1283, allocations: 225.5 kB / 0.4974 GB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.675e-05/0.1283, allocations: 35.53 kB / 0.4974 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004619/0.1288, allocations: 280.7 kB / 0.4977 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1288, allocations: 4 kB / 0.4977 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1288, allocations: 3.984 kB / 0.4977 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1288, allocations: 0 / 0.4977 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.13, allocations: 0.7927 MB / 0.4985 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1301, allocations: 0 / 0.4985 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.1303, allocations: 55.97 kB / 0.4985 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1304, allocations: 0 / 0.4985 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.1304, allocations: 11.94 kB / 0.4986 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1304, allocations: 0 / 0.4986 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.1304, allocations: 15.98 kB / 0.4986 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005477/0.131, allocations: 481.4 kB / 0.499 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.153e-05/0.1311, allocations: 104.8 kB / 0.4991 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.1311, allocations: 8 kB / 0.4991 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.1313, allocations: 11.94 kB / 0.4991 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.296e-05/0.1314, allocations: 23.91 kB / 0.4992 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.1314, allocations: 12.08 kB / 0.4992 GB, free: 15.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002159/0.1316, allocations: 231.2 kB / 0.4994 GB, free: 15.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1316, allocations: 0 / 0.4994 GB, free: 15.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004859/0.1321, allocations: 96 kB / 0.4995 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.0001223/0.1322, allocations: 107.2 kB / 0.4996 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007148/0.133, allocations: 443.9 kB / 0.5 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.133, allocations: 0 / 0.5 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.1331, allocations: 115.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.0005068/0.1337, allocations: 78.98 kB / 0.5002 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.1353, allocations: 1.022 MB / 0.5012 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.1357, allocations: 0.8701 MB / 0.502 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.027e-05/0.1358, allocations: 31.44 kB / 0.5021 GB, free: 12.93 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1358, allocations: 0 / 0.5021 GB, free: 12.93 MB / 398.1 MB Notification: Performance of Templates: time 0.008601/0.1444, allocations: 5.681 MB / 0.5076 GB, free: 7.238 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)