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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009833/0.0009833, allocations: 180.1 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.225/1.225, allocations: 194.5 MB / 211.6 MB, free: 3.027 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001656/0.001655, allocations: 123.3 kB / 256.9 MB, free: 4.324 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.175/0.175, allocations: 37.99 MB / 340.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003747, allocations: 12 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08503/0.08542, allocations: 53.24 MB / 457 MB, free: 15.55 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3179/0.4034, allocations: 90.24 MB / 0.5344 GB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/0.4037, allocations: 93.56 kB / 0.5345 GB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01881/0.4225, allocations: 7.384 MB / 0.5417 GB, free: 14.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4225, allocations: 0 / 0.5417 GB, free: 14.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.203e-05/0.4226, allocations: 8 kB / 0.5417 GB, free: 14.54 MB / 362.7 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.001135/0.4237, allocations: 0.6367 MB / 0.5424 GB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4238, allocations: 16 kB / 0.5424 GB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.4239, allocations: 39.53 kB / 0.5424 GB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002003/0.4259, allocations: 0.8075 MB / 0.5432 GB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.426, allocations: 23.31 kB / 0.5432 GB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.203e-05/0.426, allocations: 22.5 kB / 0.5432 GB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/0.4265, allocations: 345.4 kB / 0.5436 GB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.4265, allocations: 4.281 kB / 0.5436 GB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.4266, allocations: 17.89 kB / 0.5436 GB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.4266, allocations: 8 kB / 0.5436 GB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003621/0.427, allocations: 230.1 kB / 0.5438 GB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.4286, allocations: 1.369 MB / 0.5452 GB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.4289, allocations: 159.6 kB / 0.5453 GB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.429, allocations: 8.016 kB / 0.5453 GB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.429, allocations: 34.5 kB / 0.5453 GB, free: 11.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.773e-06/0.429, allocations: 4 kB / 0.5454 GB, free: 11.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001192/0.4302, allocations: 0.7485 MB / 0.5461 GB, free: 10.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.4303, allocations: 84.42 kB / 0.5462 GB, free: 10.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.4305, allocations: 262.2 kB / 0.5464 GB, free: 10.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.4306, allocations: 29.08 kB / 0.5464 GB, free: 10.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.4307, allocations: 221.1 kB / 0.5467 GB, free: 9.848 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.4307, allocations: 53.7 kB / 0.5467 GB, free: 9.801 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.318e-06/0.4307, allocations: 2.625 kB / 0.5467 GB, free: 9.801 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4309, allocations: 344 kB / 0.547 GB, free: 9.469 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.431, allocations: 67.09 kB / 0.5471 GB, free: 9.422 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/0.4311, allocations: 165.1 kB / 0.5473 GB, free: 9.242 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.4313, allocations: 92.66 kB / 0.5473 GB, free: 9.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4313, allocations: 0 / 0.5473 GB, free: 9.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004574/0.4318, allocations: 322.7 kB / 0.5477 GB, free: 8.918 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.4318, allocations: 4 kB / 0.5477 GB, free: 8.914 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-06/0.4318, allocations: 4 kB / 0.5477 GB, free: 8.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001841/0.432, allocations: 44.58 kB / 0.5477 GB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.4322, allocations: 51.41 kB / 0.5478 GB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.4334, allocations: 1.484 MB / 0.5492 GB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.4336, allocations: 6.875 kB / 0.5492 GB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.4336, allocations: 11.56 kB / 0.5492 GB, free: 7.281 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001715/0.4338, allocations: 178.3 kB / 0.5494 GB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/0.4338, allocations: 27.62 kB / 0.5494 GB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003832/0.4342, allocations: 231.2 kB / 0.5496 GB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4342, allocations: 3.984 kB / 0.5496 GB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.4342, allocations: 4 kB / 0.5496 GB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.4342, allocations: 0 / 0.5496 GB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007935/0.435, allocations: 0.6301 MB / 0.5503 GB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4351, allocations: 0 / 0.5503 GB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.4352, allocations: 23.98 kB / 0.5503 GB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001682/0.4354, allocations: 63.89 kB / 0.5503 GB, free: 6.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/0.4354, allocations: 7.953 kB / 0.5503 GB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.4366, allocations: 1.472 MB / 0.5518 GB, free: 4.707 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.4366, allocations: 4.031 kB / 0.5518 GB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004959/0.4371, allocations: 425 kB / 0.5522 GB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/0.4372, allocations: 100.8 kB / 0.5523 GB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.4372, allocations: 11.05 kB / 0.5523 GB, free: 4.199 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.4373, allocations: 0 / 0.5523 GB, free: 4.199 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.4374, allocations: 23.47 kB / 0.5523 GB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.4374, allocations: 4 kB / 0.5523 GB, free: 4.176 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00019/0.4376, allocations: 211.6 kB / 0.5525 GB, free: 4 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4376, allocations: 0 / 0.5525 GB, free: 4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003749/0.438, allocations: 71.3 kB / 0.5526 GB, free: 3.938 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001466/0.4381, allocations: 110.7 kB / 0.5527 GB, free: 3.824 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004684/0.4386, allocations: 286.3 kB / 0.553 GB, free: 3.574 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4386, allocations: 4 kB / 0.553 GB, free: 3.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003195/0.439, allocations: 200.2 kB / 0.5532 GB, free: 3.383 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.4393, allocations: 69.81 kB / 0.5532 GB, free: 3.332 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.4405, allocations: 0.8786 MB / 0.5541 GB, free: 2.465 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.4409, allocations: 0.8171 MB / 0.5549 GB, free: 1.629 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001558/0.4411, allocations: 46.94 kB / 0.5549 GB, free: 1.582 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.4412, allocations: 19.44 kB / 0.555 GB, free: 1.562 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4412, allocations: 4 kB / 0.555 GB, free: 1.559 MB / 362.7 MB Notification: Performance of Templates: time 0.006407/0.4476, allocations: 2.721 MB / 0.5576 GB, free: 14.85 MB / 378.7 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)