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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 104.7 kB / 17.06 MB, free: 6.027 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.001114/0.001115, allocations: 196 kB / 18 MB, free: 5.105 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.389/1.389, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1764/0.1764, allocations: 37.99 MB / 309.2 MB, free: 5.949 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.001539/0.001539, allocations: 67.89 kB / 431.4 MB, free: 16.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09335/0.0949, allocations: 55.24 MB / 486.6 MB, free: 8.836 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.006324/0.1013, allocations: 4.584 MB / 491.2 MB, free: 4.223 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.1036, allocations: 1.361 MB / 492.6 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003295/0.1039, allocations: 15.94 kB / 492.6 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.1052, allocations: 398.3 kB / 493 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006974/0.1059, allocations: 246.8 kB / 493.2 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005085/0.1064, allocations: 171.6 kB / 493.4 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007172/0.1072, allocations: 0.5646 MB / 493.9 MB, free: 1.473 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004684/0.1076, allocations: 293.4 kB / 494.2 MB, free: 1.191 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004736/0.1081, allocations: 258.9 kB / 494.5 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005574/0.1087, allocations: 279.1 kB / 494.7 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.995e-05/0.1088, allocations: 28 kB / 494.8 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003/0.1091, allocations: 127.8 kB / 494.9 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002247/0.1093, allocations: 199.5 kB / 495.1 MB, free: 324 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002802/0.1096, allocations: 211 kB / 495.3 MB, free: 112 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007041/0.1103, allocations: 0.5062 MB / 495.8 MB, free: 15.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1103, allocations: 0 / 495.8 MB, free: 15.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1103, allocations: 0 / 495.8 MB, free: 15.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.1104, allocations: 4 kB / 495.8 MB, free: 15.6 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.001467/0.1118, allocations: 0.6991 MB / 496.5 MB, free: 14.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.1119, allocations: 15.83 kB / 496.5 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.112, allocations: 78.7 kB / 496.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006706/0.1127, allocations: 84.3 kB / 496.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007528/0.1135, allocations: 415.2 kB / 497.1 MB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.757e-05/0.1135, allocations: 21.38 kB / 497.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.1137, allocations: 47.92 kB / 497.2 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007136/0.1144, allocations: 476.8 kB / 497.6 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.1144, allocations: 0 / 497.6 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.1145, allocations: 16 kB / 497.6 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001061/0.1146, allocations: 28.92 kB / 497.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005301/0.1151, allocations: 343.7 kB / 498 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/0.1173, allocations: 1.702 MB / 499.7 MB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.1176, allocations: 145 kB / 499.8 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.1178, allocations: 109.7 kB / 499.9 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.1178, allocations: 4 kB / 500 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.1178, allocations: 42.5 kB / 500 MB, free: 11.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.813e-06/0.1179, allocations: 0 / 500 MB, free: 11.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001499/0.1194, allocations: 0.8493 MB / 0.4891 GB, free: 10.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.947e-05/0.1194, allocations: 85.17 kB / 0.4892 GB, free: 10.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.1197, allocations: 300.5 kB / 0.4895 GB, free: 9.801 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.1198, allocations: 29.7 kB / 0.4895 GB, free: 9.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.12, allocations: 259.4 kB / 0.4897 GB, free: 9.508 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.98e-05/0.12, allocations: 59.11 kB / 0.4898 GB, free: 9.449 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-05/0.1201, allocations: 61.97 kB / 0.4899 GB, free: 9.383 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.1202, allocations: 342.8 kB / 0.4902 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.1204, allocations: 88.22 kB / 0.4903 GB, free: 8.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.1206, allocations: 193.4 kB / 0.4905 GB, free: 8.719 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000386/0.121, allocations: 316.5 kB / 0.4908 GB, free: 8.363 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.121, allocations: 4 kB / 0.4908 GB, free: 8.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008549/0.1219, allocations: 453.4 kB / 0.4912 GB, free: 7.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.1219, allocations: 8 kB / 0.4912 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005563/0.1225, allocations: 309.1 kB / 0.4915 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004558/0.1229, allocations: 120.8 kB / 0.4916 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.1231, allocations: 55.91 kB / 0.4917 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002661/0.1258, allocations: 2.38 MB / 0.494 GB, free: 4.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.126, allocations: 15.92 kB / 0.494 GB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.126, allocations: 12 kB / 0.494 GB, free: 4.875 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.0001982/0.1262, allocations: 197.6 kB / 0.4942 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.1263, allocations: 27.72 kB / 0.4942 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004011/0.1267, allocations: 250.5 kB / 0.4945 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/0.1267, allocations: 3.938 kB / 0.4945 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.1267, allocations: 0 / 0.4945 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.1267, allocations: 0 / 0.4945 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.1278, allocations: 0.7234 MB / 0.4952 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.1278, allocations: 0 / 0.4952 GB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.128, allocations: 39.97 kB / 0.4952 GB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/0.1281, allocations: 28.78 kB / 0.4952 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.1282, allocations: 8 kB / 0.4953 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.1294, allocations: 1.596 MB / 0.4968 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1294, allocations: 0 / 0.4968 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005186/0.13, allocations: 430.3 kB / 0.4972 GB, free: 1.332 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.869e-05/0.1301, allocations: 104.8 kB / 0.4973 GB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.1301, allocations: 11.98 kB / 0.4973 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.1303, allocations: 4.031 kB / 0.4973 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.1303, allocations: 19.92 kB / 0.4974 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.1303, allocations: 4 kB / 0.4974 GB, free: 1.172 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002103/0.1305, allocations: 219 kB / 0.4976 GB, free: 0.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1305, allocations: 0 / 0.4976 GB, free: 0.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004567/0.131, allocations: 88 kB / 0.4977 GB, free: 0.8711 MB / 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.0007508/0.1318, allocations: 0.9693 MB / 0.4986 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006221/0.1324, allocations: 386.3 kB / 0.499 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1324, allocations: 0.875 kB / 0.499 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.1327, allocations: 235.5 kB / 0.4992 GB, free: 15.22 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000451/0.1332, allocations: 61.16 kB / 0.4993 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004038/0.1372, allocations: 3.493 MB / 0.5027 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.1376, allocations: 0.838 MB / 0.5035 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000155/0.1378, allocations: 66.91 kB / 0.5035 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.1379, allocations: 127.4 kB / 0.5037 GB, free: 10.43 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.138, allocations: 0 / 0.5037 GB, free: 10.43 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02962/0.1676, allocations: 7.598 MB / 0.5111 GB, free: 2.773 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.33, allocations: 16.31 kB / 0.5111 GB, free: 2.758 MB / 398.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Generation_PVsource.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)