Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 114.4 kB / 16.63 MB, free: 6.809 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.001246/0.001246, allocations: 185.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.177/0.177, allocations: 38.03 MB / 329.4 MB, free: 8.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 63.52 kB / 398.3 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1041, allocations: 58.06 MB / 456.3 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.007321/0.1115, allocations: 4.983 MB / 461.3 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.1133, allocations: 1.122 MB / 462.4 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000211/0.1135, allocations: 27.81 kB / 462.5 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002009/0.1137, allocations: 43.69 kB / 462.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000556/0.1143, allocations: 219.1 kB / 462.7 MB, free: 1.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.1145, allocations: 91.83 kB / 462.8 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005081/0.1151, allocations: 0.4945 MB / 463.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/0.1154, allocations: 147.9 kB / 463.5 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003071/0.1157, allocations: 219 kB / 463.7 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000429/0.1161, allocations: 287.1 kB / 464 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.155e-05/0.1162, allocations: 24 kB / 464 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.35e-05/0.1162, allocations: 24 kB / 464 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001542/0.1164, allocations: 147.6 kB / 464.1 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001874/0.1166, allocations: 179.1 kB / 464.3 MB, free: 400 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.117, allocations: 362.7 kB / 464.7 MB, free: 36 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.117, allocations: 0 / 464.7 MB, free: 36 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.117, allocations: 4 kB / 464.7 MB, free: 32 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.117, allocations: 0 / 464.7 MB, free: 32 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001222/0.1182, allocations: 0.6749 MB / 465.4 MB, free: 15.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1183, allocations: 11.89 kB / 465.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.042e-05/0.1184, allocations: 40.47 kB / 465.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004926/0.1189, allocations: 355.8 kB / 465.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.1189, allocations: 24.69 kB / 465.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.619e-05/0.119, allocations: 24 kB / 465.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005498/0.1195, allocations: 352.7 kB / 466.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.1195, allocations: 0 / 466.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.1196, allocations: 12 kB / 466.2 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.1197, allocations: 24.53 kB / 466.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003818/0.1201, allocations: 246 kB / 466.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.1218, allocations: 1.37 MB / 467.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/0.1222, allocations: 161.1 kB / 467.9 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.1224, allocations: 105.7 kB / 468 MB, free: 12.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1224, allocations: 3.984 kB / 468.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.1224, allocations: 42.56 kB / 468.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.1225, allocations: 0 / 468.1 MB, free: 12.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001378/0.1238, allocations: 0.7594 MB / 468.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.1239, allocations: 81.11 kB / 468.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.1242, allocations: 304.5 kB / 469.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.1242, allocations: 29.7 kB / 469.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.1244, allocations: 219.5 kB / 469.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.1244, allocations: 47.36 kB / 469.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.478e-05/0.1245, allocations: 49.61 kB / 469.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1247, allocations: 342.8 kB / 469.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.1248, allocations: 63.97 kB / 470 MB, free: 10.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.125, allocations: 168.8 kB / 470.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003092/0.1253, allocations: 259.6 kB / 470.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1253, allocations: 4 kB / 470.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005001/0.1258, allocations: 317.8 kB / 470.7 MB, free: 9.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.1259, allocations: 11.94 kB / 470.7 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1259, allocations: 4 kB / 470.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002168/0.1261, allocations: 52.81 kB / 470.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.1263, allocations: 47.92 kB / 470.8 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.1277, allocations: 1.606 MB / 472.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.1279, allocations: 11.91 kB / 472.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.1279, allocations: 12 kB / 472.4 MB, free: 7.648 MB / 350.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 (28): * Single equations (assignments): 27 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001742/0.1281, allocations: 177.7 kB / 472.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.1281, allocations: 23.72 kB / 472.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004031/0.1285, allocations: 244.3 kB / 472.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.1286, allocations: 0 / 472.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1286, allocations: 4 kB / 472.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1286, allocations: 0 / 472.9 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008315/0.1294, allocations: 0.6397 MB / 473.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1294, allocations: 0 / 473.5 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.1295, allocations: 23.94 kB / 473.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001862/0.1297, allocations: 64.81 kB / 473.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.1298, allocations: 4 kB / 473.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.1311, allocations: 1.621 MB / 475.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1311, allocations: 0 / 475.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005121/0.1317, allocations: 405.6 kB / 475.6 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.881e-05/0.1318, allocations: 104.8 kB / 475.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.1318, allocations: 7.984 kB / 475.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.1319, allocations: 8 kB / 475.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.132, allocations: 11.98 kB / 475.8 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.132, allocations: 4 kB / 475.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001995/0.1322, allocations: 215.1 kB / 476 MB, free: 3.852 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1322, allocations: 4 kB / 476 MB, free: 3.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003509/0.1326, allocations: 64 kB / 476 MB, free: 3.785 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001273/0.1327, allocations: 103.2 kB / 476.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005743/0.1333, allocations: 319.3 kB / 476.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1333, allocations: 0 / 476.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003512/0.1337, allocations: 198.6 kB / 476.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.1342, allocations: 70.97 kB / 476.7 MB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.1354, allocations: 0.8596 MB / 477.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/0.1358, allocations: 0.8104 MB / 478.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00014/0.136, allocations: 46.95 kB / 478.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.136, allocations: 19.44 kB / 478.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.136, allocations: 4 kB / 478.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of Templates: time 0.006775/0.1428, allocations: 2.942 MB / 481.4 MB, free: 14.36 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1)