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.0008763/0.0008761, allocations: 81.16 kB / 16.31 MB, free: 6.449 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.001152/0.001152, allocations: 181.7 kB / 17.21 MB, free: 6.316 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.555/1.555, allocations: 205.4 MB / 223.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.318/0.318, allocations: 38.05 MB / 309.7 MB, free: 8.891 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.0005114/0.0005114, allocations: 19.98 kB / 376.6 MB, free: 15.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1195, allocations: 56.32 MB / 432.9 MB, free: 6.609 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.00457/0.1241, allocations: 4.618 MB / 437.6 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.1263, allocations: 1.45 MB / 439 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002118/0.1266, allocations: 23.88 kB / 439 MB, free: 500 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.1269, allocations: 99.28 kB / 439.1 MB, free: 400 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005569/0.1275, allocations: 270.7 kB / 439.4 MB, free: 128 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.1279, allocations: 159.7 kB / 439.6 MB, free: 15.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006574/0.1286, allocations: 0.662 MB / 440.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008494/0.1294, allocations: 0.527 MB / 440.7 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.1298, allocations: 215 kB / 441 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004509/0.1302, allocations: 271.1 kB / 441.2 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.18e-05/0.1303, allocations: 20 kB / 441.2 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.1305, allocations: 79.88 kB / 441.3 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.1307, allocations: 171.5 kB / 441.5 MB, free: 14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.877e-05/0.1308, allocations: 101.5 kB / 441.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.1312, allocations: 391 kB / 442 MB, free: 13.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1312, allocations: 3.938 kB / 442 MB, free: 13.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1312, allocations: 0 / 442 MB, free: 13.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1313, allocations: 0 / 442 MB, free: 13.51 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.0009879/0.1322, allocations: 0.6366 MB / 442.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1323, allocations: 8.031 kB / 442.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.267e-05/0.1324, allocations: 74.53 kB / 442.7 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005109/0.1329, allocations: 83.38 kB / 442.8 MB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000578/0.1335, allocations: 378.2 kB / 443.1 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.1335, allocations: 29 kB / 443.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.1337, allocations: 39.89 kB / 443.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007224/0.1344, allocations: 476.8 kB / 443.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.1344, allocations: 3.938 kB / 443.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/0.1345, allocations: 19.98 kB / 443.7 MB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-05/0.1346, allocations: 21 kB / 443.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005026/0.1351, allocations: 339.7 kB / 444 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002056/0.1371, allocations: 1.71 MB / 445.8 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.1374, allocations: 149.1 kB / 445.9 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.1376, allocations: 105.7 kB / 446 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.1376, allocations: 4 kB / 446 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.1377, allocations: 34.56 kB / 446 MB, free: 9.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 2.354e-06/0.1377, allocations: 0 / 446 MB, free: 9.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001441/0.1391, allocations: 0.8609 MB / 446.9 MB, free: 8.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.061e-05/0.1392, allocations: 81.06 kB / 447 MB, free: 8.125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.1395, allocations: 304.5 kB / 447.3 MB, free: 7.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.1395, allocations: 33.7 kB / 447.3 MB, free: 7.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002405/0.1398, allocations: 251.5 kB / 447.6 MB, free: 7.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.1398, allocations: 63.09 kB / 447.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/0.1398, allocations: 8 kB / 447.6 MB, free: 7.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.14, allocations: 338.8 kB / 448 MB, free: 7.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.1401, allocations: 92.22 kB / 448 MB, free: 7.023 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.1403, allocations: 193.2 kB / 448.2 MB, free: 6.789 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.1405, allocations: 132.6 kB / 448.4 MB, free: 6.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1405, allocations: 0 / 448.4 MB, free: 6.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007683/0.1413, allocations: 451.7 kB / 448.8 MB, free: 6.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1413, allocations: 11.98 kB / 448.8 MB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000527/0.1418, allocations: 292.9 kB / 449.1 MB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004224/0.1423, allocations: 124.7 kB / 449.2 MB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001872/0.1425, allocations: 55.91 kB / 449.3 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/0.145, allocations: 2.158 MB / 451.4 MB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.1452, allocations: 12 kB / 451.5 MB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.1452, allocations: 8 kB / 451.5 MB, free: 3.422 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 (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.0002325/0.1455, allocations: 189.7 kB / 451.6 MB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.444e-05/0.1455, allocations: 31.56 kB / 451.7 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004229/0.146, allocations: 254.5 kB / 451.9 MB, free: 2.934 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.146, allocations: 3.984 kB / 451.9 MB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.146, allocations: 4 kB / 451.9 MB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.146, allocations: 0 / 451.9 MB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.1471, allocations: 0.7272 MB / 452.7 MB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.1471, allocations: 4 kB / 452.7 MB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.1473, allocations: 31.98 kB / 452.7 MB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.16e-05/0.1474, allocations: 32.83 kB / 452.7 MB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.1474, allocations: 4 kB / 452.7 MB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.1487, allocations: 1.478 MB / 454.2 MB, free: 464 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1487, allocations: 4 kB / 454.2 MB, free: 460 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005189/0.1492, allocations: 426.6 kB / 454.6 MB, free: 4 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2346/0.3839, allocations: 101.6 kB / 454.7 MB, free: 51.1 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.161e-05/0.384, allocations: 8.531 kB / 454.7 MB, free: 51.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.3842, allocations: 7.797 kB / 454.7 MB, free: 51.1 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/0.3843, allocations: 17.17 kB / 454.8 MB, free: 51.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.3843, allocations: 8.281 kB / 454.8 MB, free: 51.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002291/0.3846, allocations: 215.7 kB / 455 MB, free: 51.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3846, allocations: 1.219 kB / 455 MB, free: 51.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005831/0.3852, allocations: 86.64 kB / 455.1 MB, free: 51.02 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 (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.0007506/0.3859, allocations: 0.954 MB / 456 MB, free: 50.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00062/0.3866, allocations: 380.6 kB / 456.4 MB, free: 50.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3866, allocations: 0 / 456.4 MB, free: 50.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002444/0.3868, allocations: 235.9 kB / 456.6 MB, free: 50.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004731/0.3873, allocations: 63.78 kB / 456.7 MB, free: 50.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.39, allocations: 2.345 MB / 459 MB, free: 49.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.3903, allocations: 0.8407 MB / 459.9 MB, free: 48.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001757/0.3905, allocations: 62.11 kB / 459.9 MB, free: 48.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.3906, allocations: 123.7 kB / 460.1 MB, free: 48.49 MB / 382.1 MB Notification: Performance of SimCode: time 6.32e-07/0.3906, allocations: 3.172 kB / 460.1 MB, free: 48.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01842/0.4091, allocations: 6.964 MB / 467 MB, free: 47.89 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001287/0.4092, allocations: 206.8 kB / 467.2 MB, free: 47.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/2.453, allocations: 0 / 467.2 MB, free: 47.66 MB / 382.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/linux/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) Environment - environmentSimulation: