Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Generation.PVsource,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PVsource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001656/0.001655, allocations: 183.2 kB / 15.77 MB, free: 6.379 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.005/2.005, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.001124/0.001124, allocations: 94.84 kB / 270.2 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.267/0.267, allocations: 38.05 MB / 356.6 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006513/0.0006513, allocations: 12 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.1094, allocations: 56.34 MB / 479.1 MB, free: 1.945 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.007349/0.1168, allocations: 4.443 MB / 483.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003686/0.1205, allocations: 1.463 MB / 485 MB, free: 12.01 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004271/0.121, allocations: 19.88 kB / 485.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000415/0.1215, allocations: 95.41 kB / 485.2 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008402/0.1223, allocations: 227.2 kB / 485.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007105/0.123, allocations: 155.7 kB / 485.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00054/0.1236, allocations: 295.4 kB / 485.8 MB, free: 11.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.1249, allocations: 0.5191 MB / 486.3 MB, free: 10.69 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004718/0.1253, allocations: 187.3 kB / 486.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004688/0.1258, allocations: 179.4 kB / 486.7 MB, free: 10.33 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.586e-05/0.1259, allocations: 16 kB / 486.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.1262, allocations: 71.88 kB / 486.8 MB, free: 10.24 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002353/0.1265, allocations: 163.6 kB / 486.9 MB, free: 10.08 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.1266, allocations: 101.5 kB / 487 MB, free: 9.977 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006077/0.1272, allocations: 387 kB / 487.4 MB, free: 9.598 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1273, allocations: 0 / 487.4 MB, free: 9.598 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.47e-06/0.1273, allocations: 0 / 487.4 MB, free: 9.598 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.1273, allocations: 3.938 kB / 487.4 MB, free: 9.594 MB / 330.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.001456/0.1288, allocations: 0.6328 MB / 488.1 MB, free: 8.906 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.1288, allocations: 8.031 kB / 488.1 MB, free: 8.898 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001327/0.129, allocations: 82.48 kB / 488.1 MB, free: 8.809 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008959/0.1299, allocations: 87.38 kB / 488.2 MB, free: 8.723 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009544/0.1308, allocations: 386.1 kB / 488.6 MB, free: 8.305 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.866e-05/0.1309, allocations: 28.92 kB / 488.6 MB, free: 8.277 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.1311, allocations: 43.98 kB / 488.7 MB, free: 8.234 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.1322, allocations: 460.9 kB / 489.1 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.164e-05/0.1322, allocations: 3.938 kB / 489.1 MB, free: 7.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.786e-05/0.1323, allocations: 23.94 kB / 489.2 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001681/0.1325, allocations: 24.98 kB / 489.2 MB, free: 7.703 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009374/0.1334, allocations: 331.7 kB / 489.5 MB, free: 7.379 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003411/0.1369, allocations: 1.714 MB / 491.2 MB, free: 5.543 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.1373, allocations: 145.1 kB / 491.4 MB, free: 5.383 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.006e-05/0.1374, allocations: 8.062 kB / 491.4 MB, free: 5.375 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.1374, allocations: 34.55 kB / 491.4 MB, free: 5.332 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 2.966e-06/0.1375, allocations: 0 / 491.4 MB, free: 5.332 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.002228/0.1397, allocations: 0.8504 MB / 492.2 MB, free: 4.406 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.1398, allocations: 77.11 kB / 492.3 MB, free: 4.312 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000475/0.1403, allocations: 304.5 kB / 492.6 MB, free: 4.008 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.1403, allocations: 29.7 kB / 492.6 MB, free: 3.973 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.1406, allocations: 297.8 kB / 492.9 MB, free: 3.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.158e-05/0.1407, allocations: 67.17 kB / 493 MB, free: 3.613 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.1407, allocations: 4 kB / 493 MB, free: 3.609 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.1409, allocations: 334.8 kB / 493.3 MB, free: 3.273 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/0.1411, allocations: 84.23 kB / 493.4 MB, free: 3.191 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.1415, allocations: 197.2 kB / 493.6 MB, free: 2.953 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.1419, allocations: 136.6 kB / 493.7 MB, free: 2.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.1419, allocations: 0 / 493.7 MB, free: 2.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00141/0.1433, allocations: 440.2 kB / 494.2 MB, free: 2.383 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.1434, allocations: 8 kB / 494.2 MB, free: 2.375 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001013/0.1444, allocations: 284.5 kB / 494.5 MB, free: 2.094 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000788/0.1452, allocations: 128.7 kB / 494.6 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003768/0.1456, allocations: 55.97 kB / 494.6 MB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004218/0.1498, allocations: 2.294 MB / 496.9 MB, free: 15.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.1502, allocations: 11.95 kB / 496.9 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.1502, allocations: 16 kB / 497 MB, free: 15.43 MB / 346.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.0003168/0.1506, allocations: 189.7 kB / 497.1 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.34e-05/0.1507, allocations: 31.62 kB / 497.2 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006684/0.1513, allocations: 249.4 kB / 497.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1514, allocations: 3.938 kB / 497.4 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1514, allocations: 3.953 kB / 497.4 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.1514, allocations: 7.984 kB / 497.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.1532, allocations: 0.727 MB / 498.2 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.1532, allocations: 3.953 kB / 498.2 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004081/0.1536, allocations: 43.92 kB / 498.2 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001714/0.1538, allocations: 37.12 kB / 498.2 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.1538, allocations: 4 kB / 498.3 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/0.1556, allocations: 1.493 MB / 499.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.1556, allocations: 4.031 kB / 499.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000909/0.1565, allocations: 455.9 kB / 0.4885 GB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.1567, allocations: 100.7 kB / 0.4886 GB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.365e-05/0.1567, allocations: 15.98 kB / 0.4886 GB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.157, allocations: 4 kB / 0.4886 GB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.1571, allocations: 11.98 kB / 0.4886 GB, free: 11.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.1571, allocations: 8 kB / 0.4886 GB, free: 11.78 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003264/0.1574, allocations: 215 kB / 0.4888 GB, free: 11.57 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1574, allocations: 0 / 0.4888 GB, free: 11.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006582/0.1581, allocations: 88 kB / 0.4889 GB, free: 11.48 MB / 346.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.001309/0.1594, allocations: 1.196 MB / 0.4901 GB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.1605, allocations: 393.2 kB / 0.4904 GB, free: 9.84 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1606, allocations: 0 / 0.4904 GB, free: 9.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005088/0.1611, allocations: 224.2 kB / 0.4906 GB, free: 9.605 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000554/0.1617, allocations: 61.06 kB / 0.4907 GB, free: 9.547 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00672/0.1684, allocations: 4.501 MB / 0.4951 GB, free: 4.914 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006749/0.1691, allocations: 0.8497 MB / 0.4959 GB, free: 4.039 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/0.1694, allocations: 131.4 kB / 0.4961 GB, free: 3.91 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1694, allocations: 0 / 0.4961 GB, free: 3.91 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.647/2.816, allocations: 7.411 MB / 0.5033 GB, free: 12.5 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PVsource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_AC3ph_Generation_PVsource.fmu > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)