Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 108.3 kB / 17.74 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 191 kB / 18.67 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1684/0.1684, allocations: 37.98 MB / 309.9 MB, free: 5.969 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 71.91 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08772/0.089, allocations: 55.24 MB / 487.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.005416/0.09446, allocations: 4.589 MB / 492.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.09642, allocations: 1.352 MB / 493.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.09658, allocations: 15.88 kB / 493.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.09763, allocations: 398.8 kB / 494.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000469/0.09811, allocations: 258.8 kB / 494.4 MB, free: 1.711 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.09852, allocations: 167.6 kB / 494.5 MB, free: 1.547 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005152/0.09904, allocations: 0.5607 MB / 495.1 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003852/0.09944, allocations: 285.2 kB / 495.4 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.09976, allocations: 263 kB / 495.6 MB, free: 464 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004052/0.1002, allocations: 287 kB / 495.9 MB, free: 176 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.731e-05/0.1002, allocations: 32 kB / 496 MB, free: 144 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.1005, allocations: 123.8 kB / 496.1 MB, free: 20 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.1007, allocations: 191.5 kB / 496.3 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.1009, allocations: 211 kB / 496.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004875/0.1014, allocations: 0.5218 MB / 497 MB, free: 15.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1014, allocations: 0 / 497 MB, free: 15.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1014, allocations: 0 / 497 MB, free: 15.1 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.1014, allocations: 0 / 497 MB, free: 15.1 MB / 382.1 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.0009854/0.1024, allocations: 0.6913 MB / 497.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.1024, allocations: 15.89 kB / 497.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000543/0.103, allocations: 84.3 kB / 497.8 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005715/0.1036, allocations: 423 kB / 498.2 MB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1036, allocations: 25.38 kB / 498.2 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.1037, allocations: 48.11 kB / 498.3 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006218/0.1043, allocations: 472.8 kB / 498.7 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.1044, allocations: 0 / 498.7 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.118e-05/0.1044, allocations: 12 kB / 498.7 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.651e-05/0.1045, allocations: 32.98 kB / 498.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004791/0.105, allocations: 331.7 kB / 499.1 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.1069, allocations: 1.698 MB / 0.4891 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.1071, allocations: 157.1 kB / 0.4892 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.1073, allocations: 101.7 kB / 0.4893 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.1073, allocations: 11.88 kB / 0.4893 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.1073, allocations: 30.56 kB / 0.4893 GB, free: 10.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.1074, allocations: 0 / 0.4893 GB, free: 10.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001322/0.1087, allocations: 0.8503 MB / 0.4902 GB, free: 9.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.1087, allocations: 77.11 kB / 0.4902 GB, free: 9.723 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.109, allocations: 308.5 kB / 0.4905 GB, free: 9.406 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.1091, allocations: 25.7 kB / 0.4906 GB, free: 9.375 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.1092, allocations: 263.5 kB / 0.4908 GB, free: 9.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.567e-05/0.1093, allocations: 63.19 kB / 0.4909 GB, free: 9.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-05/0.1094, allocations: 61.83 kB / 0.4909 GB, free: 8.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.1095, allocations: 342.8 kB / 0.4913 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.1096, allocations: 92.22 kB / 0.4914 GB, free: 8.551 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.1098, allocations: 189.4 kB / 0.4915 GB, free: 8.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/0.1102, allocations: 312.6 kB / 0.4918 GB, free: 7.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1102, allocations: 8 kB / 0.4918 GB, free: 7.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000776/0.111, allocations: 461.6 kB / 0.4923 GB, free: 7.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.111, allocations: 8 kB / 0.4923 GB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005204/0.1115, allocations: 288.8 kB / 0.4926 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004125/0.1119, allocations: 136.8 kB / 0.4927 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.1121, allocations: 55.91 kB / 0.4927 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002466/0.1146, allocations: 2.376 MB / 0.4951 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.1148, allocations: 11.98 kB / 0.4951 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.1148, allocations: 19.94 kB / 0.4951 GB, free: 4.473 MB / 382.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001966/0.115, allocations: 185.7 kB / 0.4953 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/0.1151, allocations: 27.72 kB / 0.4953 GB, free: 4.254 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003911/0.1155, allocations: 249.4 kB / 0.4955 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1155, allocations: 4 kB / 0.4955 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1155, allocations: 3.938 kB / 0.4955 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1155, allocations: 0 / 0.4955 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009764/0.1165, allocations: 0.7195 MB / 0.4962 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.1165, allocations: 12.06 kB / 0.4963 GB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.1167, allocations: 43.97 kB / 0.4963 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.859e-05/0.1168, allocations: 24.84 kB / 0.4963 GB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.1168, allocations: 11.98 kB / 0.4963 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/0.118, allocations: 1.592 MB / 0.4979 GB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.118, allocations: 0 / 0.4979 GB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004638/0.1184, allocations: 426.4 kB / 0.4983 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-05/0.1185, allocations: 104.7 kB / 0.4984 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.1186, allocations: 3.938 kB / 0.4984 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.1187, allocations: 15.97 kB / 0.4984 GB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.1187, allocations: 15.98 kB / 0.4984 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.1188, allocations: 8 kB / 0.4984 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002032/0.119, allocations: 219 kB / 0.4986 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.119, allocations: 0 / 0.4986 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004173/0.1194, allocations: 88 kB / 0.4987 GB, free: 480 kB / 382.1 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001173/0.1195, allocations: 95.19 kB / 0.4988 GB, free: 376 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006481/0.1202, allocations: 394.4 kB / 0.4992 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1202, allocations: 0 / 0.4992 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000295/0.1205, allocations: 236.4 kB / 0.4994 GB, free: 15.72 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.1209, allocations: 65.12 kB / 0.4995 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.1223, allocations: 0.9033 MB / 0.5004 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.1227, allocations: 0.8496 MB / 0.5012 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.147e-05/0.1227, allocations: 27.44 kB / 0.5012 GB, free: 13.8 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1227, allocations: 0 / 0.5012 GB, free: 13.8 MB / 398.1 MB Notification: Performance of Templates: time 0.007955/0.1307, allocations: 5.779 MB / 0.5069 GB, free: 8.008 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)