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.001135/0.001135, allocations: 109.5 kB / 16.51 MB, free: 6.707 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.0009206/0.0009205, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.46/1.46, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1727/0.1727, allocations: 37.98 MB / 308.6 MB, free: 6.23 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.001646/0.001646, allocations: 68.38 kB / 374.7 MB, free: 3.996 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2892, allocations: 55.24 MB / 430 MB, free: 19.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.00689/0.2961, allocations: 5.235 MB / 435.2 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.2989, allocations: 1.555 MB / 436.8 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005583/0.2995, allocations: 27.81 kB / 436.8 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.3007, allocations: 385.8 kB / 437.2 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007055/0.3014, allocations: 219 kB / 437.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.302, allocations: 151.8 kB / 437.5 MB, free: 12.17 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006171/0.3026, allocations: 0.8376 MB / 438.4 MB, free: 11.33 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004659/0.3031, allocations: 284.8 kB / 438.6 MB, free: 11.05 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002901/0.3034, allocations: 215 kB / 438.8 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004243/0.3038, allocations: 287.1 kB / 439.1 MB, free: 10.56 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.3039, allocations: 28 kB / 439.2 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002678/0.3041, allocations: 131.7 kB / 439.3 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.3043, allocations: 187.5 kB / 439.5 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.3045, allocations: 210.9 kB / 439.7 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004398/0.3049, allocations: 0.4984 MB / 440.2 MB, free: 9.516 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.305, allocations: 3.938 kB / 440.2 MB, free: 9.512 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.305, allocations: 0 / 440.2 MB, free: 9.512 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.305, allocations: 4 kB / 440.2 MB, free: 9.508 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.001222/0.3062, allocations: 0.6952 MB / 440.9 MB, free: 8.758 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.3063, allocations: 8.031 kB / 440.9 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.26e-05/0.3064, allocations: 78.72 kB / 441 MB, free: 8.664 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005682/0.3069, allocations: 80.31 kB / 441 MB, free: 8.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004874/0.3074, allocations: 399.2 kB / 441.4 MB, free: 8.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.3075, allocations: 29.31 kB / 441.5 MB, free: 8.133 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.3076, allocations: 47.91 kB / 441.5 MB, free: 8.086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000553/0.3081, allocations: 472.8 kB / 442 MB, free: 7.594 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.3082, allocations: 7.938 kB / 442 MB, free: 7.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.3082, allocations: 12 kB / 442 MB, free: 7.574 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.943e-05/0.3083, allocations: 24.98 kB / 442 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004178/0.3087, allocations: 343.7 kB / 442.3 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.3104, allocations: 1.71 MB / 444.1 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.3106, allocations: 153.1 kB / 444.2 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.3107, allocations: 105.7 kB / 444.3 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.3108, allocations: 4 kB / 444.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.3108, allocations: 38.55 kB / 444.4 MB, free: 5.059 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.3108, allocations: 0 / 444.4 MB, free: 5.059 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001176/0.312, allocations: 0.8415 MB / 445.2 MB, free: 4.141 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.312, allocations: 81.11 kB / 445.3 MB, free: 4.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.3123, allocations: 308.5 kB / 445.6 MB, free: 3.738 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.3123, allocations: 29.7 kB / 445.6 MB, free: 3.703 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.3124, allocations: 251.5 kB / 445.8 MB, free: 3.453 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.3125, allocations: 67.19 kB / 445.9 MB, free: 3.387 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.133e-05/0.3125, allocations: 61.88 kB / 446 MB, free: 3.32 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.951e-05/0.3126, allocations: 342.8 kB / 446.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.3127, allocations: 88.23 kB / 446.4 MB, free: 2.891 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.3129, allocations: 205.1 kB / 446.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.3132, allocations: 312.6 kB / 446.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.3132, allocations: 0 / 446.9 MB, free: 2.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006855/0.3139, allocations: 466.1 kB / 447.4 MB, free: 1.828 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.3139, allocations: 8 kB / 447.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004672/0.3144, allocations: 281.2 kB / 447.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004416/0.3149, allocations: 136.8 kB / 447.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.315, allocations: 51.92 kB / 447.8 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/0.3172, allocations: 2.152 MB / 450 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.3174, allocations: 16 kB / 450 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.3174, allocations: 15.98 kB / 450 MB, free: 15.04 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.0001918/0.3176, allocations: 189.8 kB / 450.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/0.3177, allocations: 31.61 kB / 450.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004207/0.3181, allocations: 253.3 kB / 450.5 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.3182, allocations: 8 kB / 450.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.3182, allocations: 0 / 450.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3182, allocations: 3.938 kB / 450.5 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.3192, allocations: 0.7116 MB / 451.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.3192, allocations: 4 kB / 451.2 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.3194, allocations: 47.97 kB / 451.2 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.67e-05/0.3195, allocations: 32.83 kB / 451.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.3196, allocations: 3.938 kB / 451.3 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001135/0.3207, allocations: 1.482 MB / 452.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3207, allocations: 0 / 452.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005037/0.3212, allocations: 422.5 kB / 453.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-05/0.3213, allocations: 100.8 kB / 453.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.789e-05/0.3214, allocations: 8 kB / 453.3 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.3215, allocations: 8.031 kB / 453.3 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.3215, allocations: 19.92 kB / 453.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.3216, allocations: 4 kB / 453.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001996/0.3218, allocations: 219 kB / 453.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3218, allocations: 0 / 453.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004544/0.3222, allocations: 88 kB / 453.6 MB, free: 11.17 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.0007812/0.323, allocations: 0.9625 MB / 454.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006464/0.3237, allocations: 394.8 kB / 455 MB, free: 9.766 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.3237, allocations: 4 kB / 455 MB, free: 9.762 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.324, allocations: 227.4 kB / 455.2 MB, free: 9.523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.3245, allocations: 67 kB / 455.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004424/0.3289, allocations: 3.653 MB / 458.9 MB, free: 5.613 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.3293, allocations: 0.8419 MB / 459.7 MB, free: 4.746 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001893/0.3295, allocations: 58.92 kB / 459.8 MB, free: 4.684 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.3297, allocations: 123.4 kB / 459.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3297, allocations: 0 / 459.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.35, allocations: 7.005 MB / 466.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/0.3503, allocations: 223.3 kB / 467.1 MB, free: 13.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.178/2.528, allocations: 0 / 467.1 MB, free: 13.31 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)