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.001026/0.001026, allocations: 92.75 kB / 16.65 MB, free: 6.59 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.001055/0.001055, allocations: 184.2 kB / 17.57 MB, free: 6.199 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.309/1.309, allocations: 205.4 MB / 223.7 MB, free: 13 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1675/0.1675, allocations: 38.04 MB / 310.1 MB, free: 5.895 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.0005089/0.0005087, allocations: 12 kB / 377.3 MB, free: 2.594 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2737, allocations: 56.33 MB / 433.6 MB, free: 18.64 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.004499/0.2782, allocations: 4.838 MB / 438.4 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.2804, allocations: 1.528 MB / 440 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.2806, allocations: 27.81 kB / 440 MB, free: 12.21 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003443/0.281, allocations: 87.42 kB / 440.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004725/0.2815, allocations: 231 kB / 440.3 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.2818, allocations: 147.8 kB / 440.4 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005571/0.2824, allocations: 0.8377 MB / 441.3 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007701/0.2832, allocations: 0.5438 MB / 441.8 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.2834, allocations: 203 kB / 442 MB, free: 10.15 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003796/0.2838, allocations: 283 kB / 442.3 MB, free: 9.871 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.345e-05/0.2839, allocations: 16 kB / 442.3 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.2841, allocations: 123.8 kB / 442.4 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.2842, allocations: 175.5 kB / 442.6 MB, free: 9.562 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.2844, allocations: 224.5 kB / 442.8 MB, free: 9.336 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003741/0.2848, allocations: 498.2 kB / 443.3 MB, free: 8.848 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2848, allocations: 0 / 443.3 MB, free: 8.848 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2848, allocations: 0 / 443.3 MB, free: 8.848 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.2848, allocations: 0 / 443.3 MB, free: 8.848 MB / 318.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.0008956/0.2857, allocations: 0.6251 MB / 443.9 MB, free: 8.168 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2858, allocations: 16.02 kB / 444 MB, free: 8.152 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.997e-05/0.2859, allocations: 70.72 kB / 444 MB, free: 8.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005388/0.2864, allocations: 92.25 kB / 444.1 MB, free: 7.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004979/0.2869, allocations: 387.2 kB / 444.5 MB, free: 7.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.2869, allocations: 29.36 kB / 444.5 MB, free: 7.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.2871, allocations: 55.86 kB / 444.6 MB, free: 7.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005661/0.2877, allocations: 464.9 kB / 445 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.2877, allocations: 0 / 445 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.291e-05/0.2877, allocations: 15.98 kB / 445 MB, free: 6.988 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.445e-05/0.2878, allocations: 32.92 kB / 445.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004304/0.2883, allocations: 343.7 kB / 445.4 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/0.2899, allocations: 1.702 MB / 447.1 MB, free: 4.801 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.2901, allocations: 149.1 kB / 447.3 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.2903, allocations: 113.6 kB / 447.4 MB, free: 4.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.2903, allocations: 7.984 kB / 447.4 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.2903, allocations: 30.56 kB / 447.4 MB, free: 4.473 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.2903, allocations: 4 kB / 447.4 MB, free: 4.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001283/0.2916, allocations: 0.8502 MB / 448.3 MB, free: 3.543 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.2917, allocations: 85.09 kB / 448.3 MB, free: 3.441 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000234/0.2919, allocations: 308.6 kB / 448.6 MB, free: 3.137 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.292, allocations: 25.7 kB / 448.7 MB, free: 3.105 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.2921, allocations: 247.5 kB / 448.9 MB, free: 2.859 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.2922, allocations: 67.08 kB / 449 MB, free: 2.793 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.2922, allocations: 37.7 kB / 449 MB, free: 2.75 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.87e-05/0.2923, allocations: 346.7 kB / 449.4 MB, free: 2.402 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.2924, allocations: 88.22 kB / 449.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.2926, allocations: 201.3 kB / 449.6 MB, free: 2.074 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003385/0.293, allocations: 320.5 kB / 450 MB, free: 1.715 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.293, allocations: 4 kB / 450 MB, free: 1.711 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007058/0.2937, allocations: 453.6 kB / 450.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2937, allocations: 7.938 kB / 450.4 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004748/0.2942, allocations: 288.8 kB / 450.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004288/0.2946, allocations: 136.7 kB / 450.8 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.2948, allocations: 51.91 kB / 450.9 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002425/0.2972, allocations: 2.146 MB / 453 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.2974, allocations: 19.97 kB / 453 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.2975, allocations: 16 kB / 453.1 MB, free: 14.46 MB / 334.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.0001969/0.2977, allocations: 189.6 kB / 453.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.211e-05/0.2977, allocations: 23.72 kB / 453.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004254/0.2982, allocations: 253.4 kB / 453.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2982, allocations: 7.938 kB / 453.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.2982, allocations: 0 / 453.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.2982, allocations: 3.938 kB / 453.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.2993, allocations: 0.7186 MB / 454.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2993, allocations: 64 / 454.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.2995, allocations: 47.97 kB / 454.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.616e-05/0.2996, allocations: 32.78 kB / 454.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/0.2996, allocations: 4 kB / 454.3 MB, free: 13.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.3008, allocations: 1.474 MB / 455.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.3008, allocations: 7.969 kB / 455.8 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005124/0.3013, allocations: 422.5 kB / 456.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.193e-05/0.3014, allocations: 100.7 kB / 456.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.3014, allocations: 12.03 kB / 456.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.3016, allocations: 4 kB / 456.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.3016, allocations: 27.86 kB / 456.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.3016, allocations: 4 kB / 456.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001963/0.3018, allocations: 215 kB / 456.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.463e-06/0.3018, allocations: 0 / 456.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004274/0.3023, allocations: 91.94 kB / 456.7 MB, free: 10.59 MB / 334.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.0008149/0.3031, allocations: 0.9529 MB / 457.6 MB, free: 9.598 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006512/0.3038, allocations: 398.7 kB / 458 MB, free: 9.195 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3038, allocations: 7.938 kB / 458 MB, free: 9.188 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003235/0.3041, allocations: 224.1 kB / 458.2 MB, free: 8.953 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005157/0.3046, allocations: 65.23 kB / 458.3 MB, free: 8.887 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004782/0.3094, allocations: 3.714 MB / 462 MB, free: 4.977 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004802/0.3099, allocations: 0.8418 MB / 462.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002192/0.3102, allocations: 62.92 kB / 462.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.3103, allocations: 127.4 kB / 463 MB, free: 3.922 MB / 334.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3104, allocations: 0 / 463 MB, free: 3.922 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.3363, allocations: 6.883 MB / 469.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002337/0.3366, allocations: 226.8 kB / 470.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.225, allocations: 0 / 470.1 MB, free: 12.83 MB / 350.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)