Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.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.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001037/0.001037, allocations: 180.9 kB / 16.38 MB, free: 5.762 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.182/1.182, allocations: 194.5 MB / 211.6 MB, free: 3.059 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.001572/0.001573, allocations: 126.5 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1589/0.1589, allocations: 38 MB / 340.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003498, allocations: 12 kB / 403.8 MB, free: 68.79 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07999/0.08035, allocations: 53.23 MB / 457 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2945/0.3749, allocations: 96.4 MB / 0.5404 GB, free: 15.04 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.3752, allocations: 90.7 kB / 0.5405 GB, free: 15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04028/0.4155, allocations: 15.1 MB / 0.5553 GB, free: 1.988 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4155, allocations: 0 / 0.5553 GB, free: 1.988 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.45e-05/0.4155, allocations: 12 kB / 0.5553 GB, free: 1.977 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001273/0.4168, allocations: 0.7139 MB / 0.556 GB, free: 1.246 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.4169, allocations: 16.02 kB / 0.556 GB, free: 1.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000538/0.4174, allocations: 87.28 kB / 0.5561 GB, free: 1.145 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002008/0.4194, allocations: 0.8699 MB / 0.5569 GB, free: 376 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.4195, allocations: 39.36 kB / 0.557 GB, free: 348 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.966e-05/0.4195, allocations: 34.73 kB / 0.557 GB, free: 320 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009149/0.4205, allocations: 0.6704 MB / 0.5576 GB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.4205, allocations: 4 kB / 0.5576 GB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.503e-05/0.4205, allocations: 18.8 kB / 0.5577 GB, free: 15.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/0.4207, allocations: 64.52 kB / 0.5577 GB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000824/0.4215, allocations: 0.6267 MB / 0.5583 GB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003139/0.4247, allocations: 2.552 MB / 0.5608 GB, free: 12.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005079/0.4252, allocations: 326.4 kB / 0.5611 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.4252, allocations: 8.062 kB / 0.5612 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.4253, allocations: 37.62 kB / 0.5612 GB, free: 12.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=43): time 2.314e-06/0.4253, allocations: 4 kB / 0.5612 GB, free: 12.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.002009/0.4273, allocations: 1.657 MB / 0.5628 GB, free: 11.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.4273, allocations: 85.06 kB / 0.5629 GB, free: 11.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.4276, allocations: 249.8 kB / 0.5631 GB, free: 10.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.4276, allocations: 29.08 kB / 0.5632 GB, free: 10.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.4278, allocations: 241.3 kB / 0.5634 GB, free: 10.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.4279, allocations: 154.6 kB / 0.5635 GB, free: 10.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.4279, allocations: 10.98 kB / 0.5635 GB, free: 10.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.4281, allocations: 341.1 kB / 0.5639 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.4283, allocations: 206.6 kB / 0.5641 GB, free: 10.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003016/0.4287, allocations: 325.5 kB / 0.5644 GB, free: 9.742 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.429, allocations: 259.9 kB / 0.5646 GB, free: 9.566 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.429, allocations: 0 / 0.5646 GB, free: 9.566 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001066/0.4301, allocations: 0.6995 MB / 0.5653 GB, free: 9.027 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.4301, allocations: 8.469 kB / 0.5653 GB, free: 9.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008264/0.4309, allocations: 0.5305 MB / 0.5658 GB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003859/0.4313, allocations: 109 kB / 0.5659 GB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.4316, allocations: 82.69 kB / 0.566 GB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/0.4341, allocations: 3.048 MB / 0.569 GB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002439/0.4344, allocations: 31.64 kB / 0.569 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.215e-05/0.4344, allocations: 23.66 kB / 0.569 GB, free: 5.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (43): * Single equations (assignments): 38 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002528/0.4347, allocations: 206.3 kB / 0.5692 GB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.4347, allocations: 35.56 kB / 0.5693 GB, free: 5.129 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007229/0.4355, allocations: 0.5114 MB / 0.5698 GB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.942e-05/0.4355, allocations: 19.94 kB / 0.5698 GB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.4355, allocations: 4 kB / 0.5698 GB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.4355, allocations: 0 / 0.5698 GB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.4369, allocations: 1.089 MB / 0.5709 GB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.4369, allocations: 7.953 kB / 0.5709 GB, free: 3.812 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/0.4374, allocations: 71.88 kB / 0.5709 GB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.4374, allocations: 4 kB / 0.5709 GB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.784e-05/0.4374, allocations: 7.438 kB / 0.5709 GB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.4374, allocations: 0 / 0.5709 GB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4374, allocations: 0 / 0.5709 GB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009205/0.4384, allocations: 0.8653 MB / 0.5718 GB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.4385, allocations: 139.7 kB / 0.5719 GB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.696e-05/0.4386, allocations: 14.86 kB / 0.5719 GB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.4388, allocations: 23.22 kB / 0.572 GB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.4389, allocations: 24.16 kB / 0.572 GB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.4389, allocations: 6.688 kB / 0.572 GB, free: 2.832 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001633/0.4391, allocations: 197.4 kB / 0.5722 GB, free: 2.664 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4391, allocations: 3.938 kB / 0.5722 GB, free: 2.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004971/0.4396, allocations: 133.6 kB / 0.5723 GB, free: 2.543 MB / 378.7 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 (31): * Single equations (assignments): 27 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002364/0.4398, allocations: 147 kB / 0.5725 GB, free: 2.395 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.4408, allocations: 0.7487 MB / 0.5732 GB, free: 1.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.4409, allocations: 0 / 0.5732 GB, free: 1.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002794/0.4411, allocations: 245.5 kB / 0.5734 GB, free: 1.602 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003551/0.4415, allocations: 55.58 kB / 0.5735 GB, free: 1.562 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.4432, allocations: 1.38 MB / 0.5748 GB, free: 260 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.4437, allocations: 0.8853 MB / 0.5757 GB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002966/0.444, allocations: 111.2 kB / 0.5758 GB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.329e-05/0.4441, allocations: 27.44 kB / 0.5758 GB, free: 15.23 MB / 394.7 MB Notification: Performance of SimCode: time 2e-07/0.4441, allocations: 0 / 0.5758 GB, free: 15.23 MB / 394.7 MB Notification: Performance of Templates: time 0.00773/0.4518, allocations: 4.143 MB / 0.5799 GB, free: 11.09 MB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)