Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008816/0.0008815, allocations: 171.3 kB / 16.07 MB, free: 5.598 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.212/1.212, allocations: 205.4 MB / 222.2 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007994/0.0007994, allocations: 88.86 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1736/0.1736, allocations: 38.06 MB / 356.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003257, allocations: 12 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2387, allocations: 56.33 MB / 479.6 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.005033/0.2438, allocations: 4.533 MB / 484.2 MB, free: 6.266 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002757/0.2466, allocations: 1.674 MB / 485.8 MB, free: 5.086 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005499/0.2472, allocations: 24.59 kB / 485.9 MB, free: 5.074 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.2475, allocations: 78.22 kB / 485.9 MB, free: 5.035 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009823/0.2485, allocations: 284.4 kB / 486.2 MB, free: 4.883 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008685/0.2494, allocations: 257.9 kB / 486.5 MB, free: 4.777 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008825/0.2503, allocations: 0.7226 MB / 487.2 MB, free: 4.512 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007783/0.2511, allocations: 0.4886 MB / 487.7 MB, free: 4.199 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004228/0.2515, allocations: 247.6 kB / 487.9 MB, free: 4.102 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006689/0.2522, allocations: 377.5 kB / 488.3 MB, free: 3.992 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.892e-05/0.2523, allocations: 20.62 kB / 488.3 MB, free: 3.992 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000355/0.2527, allocations: 134.1 kB / 488.4 MB, free: 3.961 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.2529, allocations: 221.7 kB / 488.7 MB, free: 3.902 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003074/0.2532, allocations: 260.6 kB / 488.9 MB, free: 3.746 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006789/0.2539, allocations: 493.8 kB / 489.4 MB, free: 3.641 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2539, allocations: 1.031 kB / 489.4 MB, free: 3.641 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2539, allocations: 0 / 489.4 MB, free: 3.641 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.508e-05/0.254, allocations: 0 / 489.4 MB, free: 3.641 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001918/0.2559, allocations: 0.782 MB / 490.2 MB, free: 3.086 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.256, allocations: 11.23 kB / 490.2 MB, free: 3.086 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006524/0.2566, allocations: 99.98 kB / 490.3 MB, free: 3.047 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.2577, allocations: 481.8 kB / 490.8 MB, free: 2.734 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.284e-05/0.2578, allocations: 38.69 kB / 490.8 MB, free: 2.715 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.2579, allocations: 57.98 kB / 490.9 MB, free: 2.691 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.259, allocations: 0.6757 MB / 491.5 MB, free: 2.324 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.259, allocations: 6.25 kB / 491.5 MB, free: 2.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.278e-05/0.2591, allocations: 17.41 kB / 491.6 MB, free: 2.309 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/0.2592, allocations: 37.22 kB / 491.6 MB, free: 2.301 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009196/0.2602, allocations: 0.5263 MB / 492.1 MB, free: 2.141 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003621/0.2638, allocations: 3.103 MB / 495.2 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000642/0.2645, allocations: 316.5 kB / 495.5 MB, free: 15.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.2648, allocations: 181.4 kB / 495.7 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.161e-05/0.2648, allocations: 13.73 kB / 495.7 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.2649, allocations: 36.62 kB / 495.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 4.99e-06/0.2649, allocations: 0 / 495.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.002415/0.2673, allocations: 1.208 MB / 497 MB, free: 14.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.2674, allocations: 85.45 kB / 497 MB, free: 14.78 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005305/0.2679, allocations: 393.3 kB / 497.4 MB, free: 14.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.268, allocations: 31.77 kB / 497.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/0.2682, allocations: 298.3 kB / 497.8 MB, free: 14.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.2683, allocations: 116.2 kB / 497.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.2684, allocations: 9.938 kB / 497.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.2685, allocations: 355.1 kB / 498.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/0.2689, allocations: 189.8 kB / 498.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/0.2693, allocations: 383.2 kB / 498.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008246/0.2701, allocations: 0.6003 MB / 499.4 MB, free: 13.11 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.2701, allocations: 1.406 kB / 499.4 MB, free: 13.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002195/0.2723, allocations: 0.8291 MB / 0.4885 GB, free: 12.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.2724, allocations: 8.016 kB / 0.4885 GB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.2724, allocations: 6.625 kB / 0.4885 GB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.2737, allocations: 270.2 kB / 0.4888 GB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006354/0.2743, allocations: 137.1 kB / 0.4889 GB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004591/0.2789, allocations: 3.755 MB / 0.4926 GB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004522/0.2794, allocations: 25.08 kB / 0.4926 GB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.629e-05/0.2795, allocations: 31.36 kB / 0.4926 GB, free: 9.293 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003657/0.2799, allocations: 226 kB / 0.4928 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.28, allocations: 38.53 kB / 0.4929 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008358/0.2808, allocations: 486.4 kB / 0.4933 GB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.2808, allocations: 5.031 kB / 0.4933 GB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2808, allocations: 8 kB / 0.4933 GB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.2809, allocations: 1.125 kB / 0.4933 GB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.2825, allocations: 1.011 MB / 0.4943 GB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.2826, allocations: 1.281 kB / 0.4943 GB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004684/0.283, allocations: 88.12 kB / 0.4944 GB, free: 8.066 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.2831, allocations: 6.375 kB / 0.4944 GB, free: 8.062 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.2831, allocations: 13.3 kB / 0.4944 GB, free: 8.055 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.2831, allocations: 6.781 kB / 0.4944 GB, free: 8.051 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.2831, allocations: 5.25 kB / 0.4944 GB, free: 8.047 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.2841, allocations: 0.732 MB / 0.4952 GB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.2843, allocations: 117.7 kB / 0.4953 GB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.054e-05/0.2844, allocations: 16.03 kB / 0.4953 GB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.2847, allocations: 15.33 kB / 0.4953 GB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.2847, allocations: 32.27 kB / 0.4953 GB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.2848, allocations: 8.188 kB / 0.4953 GB, free: 7.438 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003243/0.2851, allocations: 266.7 kB / 0.4956 GB, free: 7.273 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2851, allocations: 3.938 kB / 0.4956 GB, free: 7.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006106/0.2857, allocations: 121.9 kB / 0.4957 GB, free: 7.254 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[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 (38): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001466/0.2859, allocations: 107.8 kB / 0.4958 GB, free: 7.156 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001529/0.2874, allocations: 0.7914 MB / 0.4966 GB, free: 6.652 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2874, allocations: 0 / 0.4966 GB, free: 6.652 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.2877, allocations: 194.1 kB / 0.4968 GB, free: 6.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006404/0.2884, allocations: 81.47 kB / 0.4969 GB, free: 6.527 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/0.2919, allocations: 1.795 MB / 0.4986 GB, free: 5.297 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005087/0.2925, allocations: 0.8874 MB / 0.4995 GB, free: 4.512 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.2927, allocations: 48.3 kB / 0.4995 GB, free: 4.492 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2927, allocations: 0 / 0.4995 GB, free: 4.492 MB / 330.7 MB Notification: Performance of Templates: time 0.01196/0.3047, allocations: 7.845 MB / 0.5072 GB, free: 13.56 MB / 346.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)