Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002205/0.002205, allocations: 184.8 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.936/1.936, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 93.2 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2705/0.2705, allocations: 37.97 MB / 353.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.901e-05/2.918e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 56.32 MB / 473.1 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6135/0.7152, allocations: 96.31 MB / 0.5561 GB, free: 7.438 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006681/0.7159, allocations: 91.94 kB / 0.5562 GB, free: 7.348 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06284/0.7788, allocations: 12.51 MB / 0.5684 GB, free: 10.69 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.7788, allocations: 0 / 0.5684 GB, free: 10.69 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.666e-05/0.7789, allocations: 12 kB / 0.5684 GB, free: 10.68 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001445/0.7803, allocations: 0.6053 MB / 0.569 GB, free: 10.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/0.7804, allocations: 15.97 kB / 0.569 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001032/0.7815, allocations: 99.34 kB / 0.5691 GB, free: 9.914 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003628/0.7851, allocations: 0.8565 MB / 0.5699 GB, free: 9.008 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-05/0.7852, allocations: 20.78 kB / 0.57 GB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.7853, allocations: 36 kB / 0.57 GB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.7865, allocations: 458.2 kB / 0.5704 GB, free: 8.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.7865, allocations: 352 / 0.5704 GB, free: 8.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.525e-05/0.7866, allocations: 23.94 kB / 0.5705 GB, free: 8.457 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.728e-05/0.7867, allocations: 24.78 kB / 0.5705 GB, free: 8.434 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.788, allocations: 338.9 kB / 0.5708 GB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004686/0.7927, allocations: 1.721 MB / 0.5725 GB, free: 6.266 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005463/0.7933, allocations: 149.1 kB / 0.5726 GB, free: 6.102 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.7937, allocations: 113.7 kB / 0.5727 GB, free: 5.984 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.7937, allocations: 0 / 0.5727 GB, free: 5.984 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.7938, allocations: 42.5 kB / 0.5728 GB, free: 5.934 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.875e-06/0.7938, allocations: 0 / 0.5728 GB, free: 5.934 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.00247/0.7963, allocations: 0.7052 MB / 0.5735 GB, free: 5.172 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.379e-05/0.7964, allocations: 84.98 kB / 0.5735 GB, free: 5.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006446/0.7971, allocations: 274.8 kB / 0.5738 GB, free: 4.797 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.053e-05/0.7972, allocations: 25.7 kB / 0.5738 GB, free: 4.766 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.7975, allocations: 313.8 kB / 0.5741 GB, free: 4.453 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.7976, allocations: 63.09 kB / 0.5742 GB, free: 4.391 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-05/0.7976, allocations: 8 kB / 0.5742 GB, free: 4.383 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.7979, allocations: 326.8 kB / 0.5745 GB, free: 4.055 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003868/0.7983, allocations: 96.23 kB / 0.5746 GB, free: 3.957 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/0.7988, allocations: 197.3 kB / 0.5748 GB, free: 3.719 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005071/0.7993, allocations: 132.5 kB / 0.5749 GB, free: 3.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.7994, allocations: 0 / 0.5749 GB, free: 3.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002189/0.8016, allocations: 456.1 kB / 0.5753 GB, free: 3.137 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.8016, allocations: 4 kB / 0.5753 GB, free: 3.133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001582/0.8032, allocations: 301.5 kB / 0.5756 GB, free: 2.836 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001228/0.8045, allocations: 136.7 kB / 0.5758 GB, free: 2.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005649/0.8051, allocations: 55.91 kB / 0.5758 GB, free: 2.645 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01354/0.8186, allocations: 2.212 MB / 0.578 GB, free: 308 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005955/0.8193, allocations: 15.89 kB / 0.578 GB, free: 292 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/0.8193, allocations: 12 kB / 0.578 GB, free: 280 kB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001883/0.8195, allocations: 120.9 kB / 0.5781 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001259/0.8197, allocations: 31.72 kB / 0.5782 GB, free: 120 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.8208, allocations: 268.5 kB / 0.5784 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.8208, allocations: 3.953 kB / 0.5784 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8208, allocations: 4 kB / 0.5784 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.8209, allocations: 0 / 0.5784 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007051/0.8279, allocations: 0.7428 MB / 0.5791 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.828, allocations: 0 / 0.5791 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005747/0.8286, allocations: 39.86 kB / 0.5792 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002458/0.8288, allocations: 32.83 kB / 0.5792 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.68e-05/0.8289, allocations: 8 kB / 0.5792 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.798e-06/0.8289, allocations: 4 kB / 0.5792 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.829, allocations: 3.984 kB / 0.5792 GB, free: 14.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.8303, allocations: 474.3 kB / 0.5797 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.8305, allocations: 104.8 kB / 0.5798 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00381/0.8344, allocations: 11.95 kB / 0.5798 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004651/0.8348, allocations: 11.98 kB / 0.5798 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.787e-05/0.8349, allocations: 11.98 kB / 0.5798 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/0.835, allocations: 8.062 kB / 0.5798 GB, free: 14.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005432/0.8355, allocations: 218.2 kB / 0.58 GB, free: 14.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.8356, allocations: 0 / 0.58 GB, free: 14.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001159/0.8367, allocations: 96 kB / 0.5801 GB, free: 13.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003176/0.8371, allocations: 131.1 kB / 0.5802 GB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.8385, allocations: 402.6 kB / 0.5806 GB, free: 13.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.004369/0.8429, allocations: 0 / 0.5806 GB, free: 13.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005672/0.8435, allocations: 173.8 kB / 0.5808 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008574/0.8444, allocations: 69.89 kB / 0.5809 GB, free: 13.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.847, allocations: 0.6998 MB / 0.5815 GB, free: 12.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008328/0.8478, allocations: 0.8499 MB / 0.5824 GB, free: 11.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.848, allocations: 31.44 kB / 0.5824 GB, free: 11.51 MB / 426.7 MB Notification: Performance of SimCode: time 1.262e-06/0.8481, allocations: 0 / 0.5824 GB, free: 11.51 MB / 426.7 MB Notification: Performance of Templates: time 0.03751/0.8856, allocations: 5.644 MB / 0.5879 GB, free: 5.859 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)