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.001442/0.001441, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.414/1.414, allocations: 194.3 MB / 203.1 MB, free: 9.254 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001743/0.001743, allocations: 118.8 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.173/0.173, allocations: 37.92 MB / 330.9 MB, free: 7.316 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.163e-05/1.164e-05, allocations: 4 kB / 390.4 MB, free: 78.22 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08211/0.08213, allocations: 53.24 MB / 443.6 MB, free: 25.09 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3186/0.4008, allocations: 89.48 MB / 0.5206 GB, free: 10.78 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.4011, allocations: 92.12 kB / 0.5207 GB, free: 10.77 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01812/0.4192, allocations: 7.314 MB / 0.5278 GB, free: 7.766 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4192, allocations: 0 / 0.5278 GB, free: 7.766 MB / 347.1 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.4193, allocations: 7.844 kB / 0.5278 GB, free: 7.766 MB / 347.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.0006472/0.4199, allocations: 0.5837 MB / 0.5284 GB, free: 7.273 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.42, allocations: 11.34 kB / 0.5284 GB, free: 7.273 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.42, allocations: 38.78 kB / 0.5284 GB, free: 7.254 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.4216, allocations: 0.7985 MB / 0.5292 GB, free: 6.82 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.4216, allocations: 7.688 kB / 0.5292 GB, free: 6.82 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.4217, allocations: 19.38 kB / 0.5292 GB, free: 6.816 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002892/0.422, allocations: 202.6 kB / 0.5294 GB, free: 6.793 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003623/0.4224, allocations: 304 kB / 0.5297 GB, free: 6.641 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4224, allocations: 3.953 kB / 0.5297 GB, free: 6.637 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.4224, allocations: 0 / 0.5297 GB, free: 6.637 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.4224, allocations: 11.69 kB / 0.5297 GB, free: 6.633 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.4236, allocations: 1.31 MB / 0.531 GB, free: 5.648 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.4238, allocations: 152.7 kB / 0.5312 GB, free: 5.582 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.424, allocations: 95.88 kB / 0.5313 GB, free: 5.555 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.424, allocations: 11.67 kB / 0.5313 GB, free: 5.551 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.424, allocations: 38.39 kB / 0.5313 GB, free: 5.508 MB / 347.1 MB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.424, allocations: 0 / 0.5313 GB, free: 5.508 MB / 347.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007291/0.4248, allocations: 0.5767 MB / 0.5319 GB, free: 5.105 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.4248, allocations: 77.11 kB / 0.5319 GB, free: 5.012 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.425, allocations: 252.3 kB / 0.5322 GB, free: 4.883 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.425, allocations: 29.67 kB / 0.5322 GB, free: 4.852 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.723e-05/0.4251, allocations: 216 kB / 0.5324 GB, free: 4.703 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.4251, allocations: 53.8 kB / 0.5325 GB, free: 4.664 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/0.4251, allocations: 0 / 0.5325 GB, free: 4.664 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 5.309e-05/0.4252, allocations: 341.2 kB / 0.5328 GB, free: 4.34 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.384e-05/0.4253, allocations: 64.48 kB / 0.5329 GB, free: 4.324 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.539e-05/0.4254, allocations: 147.6 kB / 0.533 GB, free: 4.199 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.859e-05/0.4255, allocations: 91.19 kB / 0.5331 GB, free: 4.176 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4255, allocations: 4 kB / 0.5331 GB, free: 4.172 MB / 347.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003383/0.4258, allocations: 279.6 kB / 0.5334 GB, free: 4.062 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.4259, allocations: 7.719 kB / 0.5334 GB, free: 4.062 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4259, allocations: 4.25 kB / 0.5334 GB, free: 4.062 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.426, allocations: 50.61 kB / 0.5334 GB, free: 4.039 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.4262, allocations: 53.81 kB / 0.5335 GB, free: 4.027 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007697/0.427, allocations: 1.398 MB / 0.5348 GB, free: 2.762 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.4271, allocations: 7.828 kB / 0.5348 GB, free: 2.758 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.4272, allocations: 7.844 kB / 0.5348 GB, free: 2.758 MB / 347.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 () * 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 6.77e-05/0.4272, allocations: 123.4 kB / 0.535 GB, free: 2.641 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.4273, allocations: 31.22 kB / 0.535 GB, free: 2.621 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000309/0.4276, allocations: 206.8 kB / 0.5352 GB, free: 2.535 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.4276, allocations: 7.875 kB / 0.5352 GB, free: 2.531 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.4276, allocations: 0 / 0.5352 GB, free: 2.531 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.4276, allocations: 0 / 0.5352 GB, free: 2.531 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005624/0.4282, allocations: 0.571 MB / 0.5358 GB, free: 2.164 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4282, allocations: 0 / 0.5358 GB, free: 2.164 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.756e-05/0.4283, allocations: 26.95 kB / 0.5358 GB, free: 2.156 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001453/0.4285, allocations: 50.62 kB / 0.5358 GB, free: 2.133 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.4285, allocations: 7.828 kB / 0.5358 GB, free: 2.129 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007909/0.4293, allocations: 1.407 MB / 0.5372 GB, free: 0.8555 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.4293, allocations: 3.906 kB / 0.5372 GB, free: 0.8555 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.4297, allocations: 407.8 kB / 0.5376 GB, free: 0.6055 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.4298, allocations: 99.86 kB / 0.5377 GB, free: 0.5 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.4298, allocations: 0 / 0.5377 GB, free: 0.5 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.4299, allocations: 3.844 kB / 0.5377 GB, free: 0.5 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.43, allocations: 19.25 kB / 0.5377 GB, free: 500 kB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.43, allocations: 7.812 kB / 0.5377 GB, free: 496 kB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0002045/0.4302, allocations: 195.9 kB / 0.5379 GB, free: 400 kB / 347.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4302, allocations: 0 / 0.5379 GB, free: 400 kB / 347.1 MB Notification: Performance of remove unused functions: time 0.0003987/0.4306, allocations: 69.33 kB / 0.538 GB, free: 396 kB / 347.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 () * 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.0001405/0.4308, allocations: 105.5 kB / 0.5381 GB, free: 296 kB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0004238/0.4312, allocations: 264 kB / 0.5383 GB, free: 160 kB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4312, allocations: 3.938 kB / 0.5383 GB, free: 156 kB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00027/0.4315, allocations: 194.1 kB / 0.5385 GB, free: 32 kB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.4319, allocations: 65.78 kB / 0.5386 GB, free: 4 kB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008932/0.4328, allocations: 0.5056 MB / 0.5391 GB, free: 15.56 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.4332, allocations: 0.8176 MB / 0.5399 GB, free: 14.73 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0001528/0.4334, allocations: 43.27 kB / 0.5399 GB, free: 14.68 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.4334, allocations: 19.44 kB / 0.5399 GB, free: 14.66 MB / 363.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4335, allocations: 0 / 0.5399 GB, free: 14.66 MB / 363.1 MB Notification: Performance of Templates: time 0.005712/0.4392, allocations: 2.526 MB / 0.5424 GB, free: 12.18 MB / 363.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)