Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.PVsource.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002349/0.002349, allocations: 353.3 kB / 16.57 MB, free: 5.59 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.498/3.498, allocations: 388.9 MB / 406.2 MB, free: 12.02 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003146/0.003146, allocations: 221.7 kB / 451.6 MB, free: 14.62 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.6185/0.6185, allocations: 76.01 MB / 0.5594 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.00049, allocations: 23.98 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06982/0.07034, allocations: 53.22 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.004333/0.07471, allocations: 4.612 MB / 0.6781 GB, free: 56.19 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.0767, allocations: 1.435 MB / 0.6795 GB, free: 54.75 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.07693, allocations: 23.88 kB / 0.6795 GB, free: 54.72 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.0772, allocations: 99.33 kB / 0.6796 GB, free: 54.62 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004931/0.0777, allocations: 258.6 kB / 0.6799 GB, free: 54.37 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004235/0.07814, allocations: 163.6 kB / 0.68 GB, free: 54.21 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004805/0.07864, allocations: 0.6581 MB / 0.6807 GB, free: 53.55 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008082/0.07946, allocations: 0.523 MB / 0.6812 GB, free: 52.99 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002661/0.07975, allocations: 195.1 kB / 0.6814 GB, free: 52.8 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004328/0.0802, allocations: 287.1 kB / 0.6816 GB, free: 52.52 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/0.08026, allocations: 16 kB / 0.6817 GB, free: 52.5 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001972/0.08046, allocations: 79.81 kB / 0.6817 GB, free: 52.43 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.08062, allocations: 175.5 kB / 0.6819 GB, free: 52.25 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.435e-05/0.08072, allocations: 101.5 kB / 0.682 GB, free: 52.15 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.08106, allocations: 391 kB / 0.6824 GB, free: 51.77 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.952e-06/0.08108, allocations: 0 / 0.6824 GB, free: 51.77 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.738e-06/0.08109, allocations: 0 / 0.6824 GB, free: 51.77 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.254e-05/0.08111, allocations: 0 / 0.6824 GB, free: 51.77 MB / 442.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.0008474/0.08197, allocations: 0.6366 MB / 0.683 GB, free: 51.08 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.08201, allocations: 8.828 kB / 0.683 GB, free: 51.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006889/0.08271, allocations: 87.45 kB / 0.6831 GB, free: 50.99 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005591/0.08328, allocations: 386.1 kB / 0.6835 GB, free: 50.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.08333, allocations: 32.92 kB / 0.6835 GB, free: 50.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.0835, allocations: 43.95 kB / 0.6835 GB, free: 50.49 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006706/0.08419, allocations: 468.8 kB / 0.684 GB, free: 50.01 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.08422, allocations: 7.938 kB / 0.684 GB, free: 50 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.577e-05/0.08427, allocations: 8 kB / 0.684 GB, free: 49.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.667e-05/0.08437, allocations: 28.98 kB / 0.684 GB, free: 49.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005309/0.08492, allocations: 327.7 kB / 0.6843 GB, free: 49.64 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.08689, allocations: 1.706 MB / 0.686 GB, free: 47.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.08718, allocations: 153.1 kB / 0.6861 GB, free: 47.65 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/0.08735, allocations: 105.7 kB / 0.6862 GB, free: 47.54 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.07e-05/0.08741, allocations: 4 kB / 0.6862 GB, free: 47.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.08744, allocations: 34.56 kB / 0.6863 GB, free: 47.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=16): time 2.376e-06/0.08745, allocations: 0 / 0.6863 GB, free: 47.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=17): time 0.00143/0.08889, allocations: 0.8614 MB / 0.6871 GB, free: 46.56 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.961e-05/0.08894, allocations: 85.09 kB / 0.6872 GB, free: 46.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.08926, allocations: 304.4 kB / 0.6875 GB, free: 46.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.08929, allocations: 33.77 kB / 0.6875 GB, free: 46.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.08942, allocations: 247.4 kB / 0.6878 GB, free: 45.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.08948, allocations: 63.17 kB / 0.6878 GB, free: 45.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/0.0895, allocations: 8 kB / 0.6878 GB, free: 45.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.13e-05/0.08959, allocations: 338.8 kB / 0.6881 GB, free: 45.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.08978, allocations: 92.22 kB / 0.6882 GB, free: 45.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.09001, allocations: 202.1 kB / 0.6884 GB, free: 45.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.09022, allocations: 128.6 kB / 0.6886 GB, free: 44.99 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.537e-06/0.09024, allocations: 0 / 0.6886 GB, free: 44.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009178/0.09116, allocations: 455.5 kB / 0.689 GB, free: 44.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.09121, allocations: 8 kB / 0.689 GB, free: 44.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006661/0.09189, allocations: 292.8 kB / 0.6893 GB, free: 44.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004725/0.09238, allocations: 120.8 kB / 0.6894 GB, free: 44.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.0926, allocations: 55.91 kB / 0.6894 GB, free: 44.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/0.09502, allocations: 2.15 MB / 0.6915 GB, free: 41.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.09527, allocations: 15.94 kB / 0.6916 GB, free: 41.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.6e-05/0.0953, allocations: 12 kB / 0.6916 GB, free: 41.76 MB / 442.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.0002116/0.09553, allocations: 185.7 kB / 0.6917 GB, free: 41.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.607e-05/0.09561, allocations: 27.66 kB / 0.6918 GB, free: 41.54 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004449/0.09606, allocations: 263.8 kB / 0.692 GB, free: 41.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.776e-06/0.09608, allocations: 4 kB / 0.692 GB, free: 41.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.303e-06/0.09609, allocations: 0 / 0.692 GB, free: 41.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.176e-06/0.0961, allocations: 3.984 kB / 0.692 GB, free: 41.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.09727, allocations: 0.7195 MB / 0.6927 GB, free: 40.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.8e-06/0.0973, allocations: 4 kB / 0.6927 GB, free: 40.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.09758, allocations: 31.98 kB / 0.6928 GB, free: 40.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001141/0.09771, allocations: 32.83 kB / 0.6928 GB, free: 40.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.09774, allocations: 8 kB / 0.6928 GB, free: 40.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/0.09876, allocations: 1.482 MB / 0.6943 GB, free: 38.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.09878, allocations: 0 / 0.6943 GB, free: 38.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005001/0.09929, allocations: 424 kB / 0.6947 GB, free: 38.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.037e-05/0.0994, allocations: 112.8 kB / 0.6948 GB, free: 38.22 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/0.09946, allocations: 0 / 0.6948 GB, free: 38.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.09967, allocations: 11.98 kB / 0.6948 GB, free: 38.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.09974, allocations: 19.94 kB / 0.6948 GB, free: 38.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.09977, allocations: 4 kB / 0.6948 GB, free: 38.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00019/0.09996, allocations: 215.1 kB / 0.695 GB, free: 37.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.43e-07/0.09998, allocations: 3.938 kB / 0.695 GB, free: 37.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000527/0.1005, allocations: 88 kB / 0.6951 GB, free: 37.89 MB / 442.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 9.794e-05/0.1006, allocations: 99.23 kB / 0.6952 GB, free: 37.79 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006547/0.1013, allocations: 390.2 kB / 0.6956 GB, free: 37.39 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.869e-06/0.1013, allocations: 0 / 0.6956 GB, free: 37.39 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003011/0.1016, allocations: 232.4 kB / 0.6958 GB, free: 37.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/0.1022, allocations: 57 kB / 0.6958 GB, free: 37.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.1036, allocations: 1.086 MB / 0.6969 GB, free: 35.97 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.104, allocations: 0.8497 MB / 0.6977 GB, free: 35.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002612/0.1042, allocations: 58.92 kB / 0.6978 GB, free: 35.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.317e-05/0.1043, allocations: 23.44 kB / 0.6978 GB, free: 35.01 MB / 442.7 MB Notification: Performance of SimCode: time 2.136e-06/0.1043, allocations: 0 / 0.6978 GB, free: 35.01 MB / 442.7 MB Notification: Performance of Templates: time 0.008431/0.1128, allocations: 3.61 MB / 0.7013 GB, free: 31.42 MB / 442.7 MB