Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.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.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001559/0.001559, allocations: 179 kB / 15.76 MB, free: 6.34 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.972/1.972, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0011/0.001099, allocations: 94.77 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2607/0.2607, allocations: 38.07 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004688, allocations: 8 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1089, allocations: 56.33 MB / 479 MB, free: 2.031 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5226/0.6315, allocations: 96.57 MB / 0.5621 GB, free: 3.277 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.6319, allocations: 98.62 kB / 0.5622 GB, free: 3.223 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05271/0.6846, allocations: 12.55 MB / 0.5745 GB, free: 8.449 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.6846, allocations: 0 / 0.5745 GB, free: 8.449 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.146e-05/0.6847, allocations: 8 kB / 0.5745 GB, free: 8.441 MB / 378.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.001649/0.6864, allocations: 0.6536 MB / 0.5751 GB, free: 7.773 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.6864, allocations: 12.03 kB / 0.5751 GB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.6874, allocations: 95.31 kB / 0.5752 GB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003453/0.6909, allocations: 0.8631 MB / 0.5761 GB, free: 6.902 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.072e-05/0.691, allocations: 27.12 kB / 0.5761 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.6911, allocations: 44.77 kB / 0.5761 GB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.6922, allocations: 462.7 kB / 0.5766 GB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.232e-05/0.6923, allocations: 4 kB / 0.5766 GB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.284e-05/0.6923, allocations: 15.5 kB / 0.5766 GB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.786e-05/0.6924, allocations: 32.56 kB / 0.5766 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008425/0.6933, allocations: 328.7 kB / 0.5769 GB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003382/0.6967, allocations: 1.708 MB / 0.5786 GB, free: 4.664 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004155/0.6971, allocations: 148.3 kB / 0.5787 GB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.6972, allocations: 8 kB / 0.5788 GB, free: 4.527 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.6972, allocations: 37.86 kB / 0.5788 GB, free: 4.484 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.604e-06/0.6972, allocations: 0 / 0.5788 GB, free: 4.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.002293/0.6995, allocations: 0.8508 MB / 0.5796 GB, free: 3.691 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.6996, allocations: 81.05 kB / 0.5797 GB, free: 3.598 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004397/0.7001, allocations: 274.4 kB / 0.58 GB, free: 3.359 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.7001, allocations: 28.89 kB / 0.58 GB, free: 3.328 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.7003, allocations: 298.8 kB / 0.5803 GB, free: 3.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.234e-05/0.7004, allocations: 65.91 kB / 0.5803 GB, free: 3.012 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/0.7005, allocations: 6.688 kB / 0.5803 GB, free: 3.012 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.7006, allocations: 329.9 kB / 0.5807 GB, free: 2.684 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.7009, allocations: 95.09 kB / 0.5808 GB, free: 2.617 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003308/0.7012, allocations: 195.2 kB / 0.5809 GB, free: 2.418 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.7016, allocations: 132 kB / 0.5811 GB, free: 2.332 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.7016, allocations: 0 / 0.5811 GB, free: 2.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001371/0.7029, allocations: 440.6 kB / 0.5815 GB, free: 1.996 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.703, allocations: 4 kB / 0.5815 GB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00094/0.7039, allocations: 285.5 kB / 0.5818 GB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007717/0.7047, allocations: 131.1 kB / 0.5819 GB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.7051, allocations: 59.09 kB / 0.5819 GB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004046/0.7092, allocations: 2.193 MB / 0.5841 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003903/0.7096, allocations: 15.86 kB / 0.5841 GB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.7097, allocations: 14.75 kB / 0.5841 GB, free: 15.59 MB / 394.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 (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.0003435/0.71, allocations: 186 kB / 0.5843 GB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.958e-05/0.7101, allocations: 31.62 kB / 0.5843 GB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006835/0.7108, allocations: 249.8 kB / 0.5846 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.7108, allocations: 0 / 0.5846 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.7108, allocations: 4 kB / 0.5846 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.7109, allocations: 7.984 kB / 0.5846 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.7126, allocations: 0.7185 MB / 0.5853 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.642e-06/0.7127, allocations: 0 / 0.5853 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003959/0.7131, allocations: 39.92 kB / 0.5853 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001706/0.7133, allocations: 35.33 kB / 0.5853 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.975e-05/0.7133, allocations: 10.83 kB / 0.5854 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/0.7151, allocations: 1.497 MB / 0.5868 GB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.7151, allocations: 0 / 0.5868 GB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008842/0.716, allocations: 467 kB / 0.5873 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.7162, allocations: 108.7 kB / 0.5874 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.361e-05/0.7162, allocations: 7.375 kB / 0.5874 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.7165, allocations: 11.48 kB / 0.5874 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.7166, allocations: 15.94 kB / 0.5874 GB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.7166, allocations: 7.188 kB / 0.5874 GB, free: 12.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003471/0.717, allocations: 216.6 kB / 0.5876 GB, free: 12.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.717, allocations: 0 / 0.5876 GB, free: 12.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006991/0.7177, allocations: 90.31 kB / 0.5877 GB, free: 12.09 MB / 394.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 () * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002312/0.7179, allocations: 131 kB / 0.5878 GB, free: 11.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.719, allocations: 392.8 kB / 0.5882 GB, free: 11.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.719, allocations: 4.062 kB / 0.5882 GB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005007/0.7195, allocations: 228.5 kB / 0.5884 GB, free: 11.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000549/0.7201, allocations: 58.38 kB / 0.5885 GB, free: 11.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.7224, allocations: 1.128 MB / 0.5896 GB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005939/0.723, allocations: 0.8418 MB / 0.5904 GB, free: 9.422 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.7232, allocations: 27.44 kB / 0.5904 GB, free: 9.395 MB / 394.7 MB Notification: Performance of SimCode: time 9.41e-07/0.7232, allocations: 7.938 kB / 0.5904 GB, free: 9.387 MB / 394.7 MB Notification: Performance of Templates: time 0.01557/0.7388, allocations: 5.644 MB / 0.5959 GB, free: 3.785 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)