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.0008777/0.0008776, allocations: 170.9 kB / 16.07 MB, free: 5.695 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.244/1.244, allocations: 205.4 MB / 222.2 MB, free: 9.031 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.000711/0.000711, allocations: 91.8 kB / 270.6 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1618/0.1618, allocations: 38.08 MB / 356.9 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003853, allocations: 12 kB / 423.4 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2546, allocations: 56.32 MB / 479.7 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.004984/0.2596, allocations: 4.64 MB / 484.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002329/0.262, allocations: 1.464 MB / 485.8 MB, free: 5.133 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000311/0.2623, allocations: 21.66 kB / 485.9 MB, free: 5.125 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003864/0.2627, allocations: 99.75 kB / 486 MB, free: 5.074 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007226/0.2634, allocations: 267.8 kB / 486.2 MB, free: 4.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.264, allocations: 179.1 kB / 486.4 MB, free: 4.848 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007905/0.2648, allocations: 0.6587 MB / 487 MB, free: 4.605 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008853/0.2657, allocations: 0.5397 MB / 487.6 MB, free: 4.258 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003958/0.2661, allocations: 206.4 kB / 487.8 MB, free: 4.176 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005225/0.2667, allocations: 273.2 kB / 488.1 MB, free: 4.086 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.287e-05/0.2667, allocations: 16.5 kB / 488.1 MB, free: 4.086 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002944/0.267, allocations: 126.3 kB / 488.2 MB, free: 4.047 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.2672, allocations: 170.8 kB / 488.4 MB, free: 4.004 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.2674, allocations: 211.3 kB / 488.6 MB, free: 3.875 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000508/0.268, allocations: 396.1 kB / 489 MB, free: 3.781 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.268, allocations: 0 / 489 MB, free: 3.781 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.268, allocations: 0 / 489 MB, free: 3.781 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.268, allocations: 4 kB / 489 MB, free: 3.777 MB / 314.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.0009485/0.269, allocations: 0.6189 MB / 489.6 MB, free: 3.262 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.269, allocations: 13.75 kB / 489.6 MB, free: 3.258 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.781e-05/0.2691, allocations: 77.14 kB / 489.7 MB, free: 3.195 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000541/0.2696, allocations: 83.12 kB / 489.7 MB, free: 3.172 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005445/0.2702, allocations: 401.9 kB / 490.1 MB, free: 2.871 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.2702, allocations: 22.25 kB / 490.2 MB, free: 2.863 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.2704, allocations: 50.03 kB / 490.2 MB, free: 2.844 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006968/0.2711, allocations: 467.6 kB / 490.7 MB, free: 2.617 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.2711, allocations: 1.438 kB / 490.7 MB, free: 2.617 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.2711, allocations: 10.69 kB / 490.7 MB, free: 2.609 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.2712, allocations: 37.48 kB / 490.7 MB, free: 2.598 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005495/0.2718, allocations: 332.5 kB / 491 MB, free: 2.492 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.2737, allocations: 1.715 MB / 492.8 MB, free: 1.258 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.274, allocations: 154.6 kB / 492.9 MB, free: 1.164 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.2741, allocations: 105.2 kB / 493 MB, free: 1.113 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.2741, allocations: 2.719 kB / 493 MB, free: 1.113 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.2742, allocations: 36.64 kB / 493 MB, free: 1.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/0.2742, allocations: 0 / 493 MB, free: 1.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.00129/0.2755, allocations: 0.8615 MB / 493.9 MB, free: 468 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.2755, allocations: 80.45 kB / 494 MB, free: 372 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.2758, allocations: 303 kB / 494.3 MB, free: 208 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.2758, allocations: 27.44 kB / 494.3 MB, free: 176 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.276, allocations: 252.1 kB / 494.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.315e-05/0.2761, allocations: 70.25 kB / 494.6 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/0.2761, allocations: 5 kB / 494.6 MB, free: 15.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2762, allocations: 344.5 kB / 495 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.2764, allocations: 92.73 kB / 495.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.2766, allocations: 187.9 kB / 495.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000395/0.277, allocations: 314.5 kB / 495.5 MB, free: 15.17 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.277, allocations: 0.875 kB / 495.5 MB, free: 15.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008741/0.2779, allocations: 454.5 kB / 496 MB, free: 14.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.2779, allocations: 7.188 kB / 496 MB, free: 14.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000609/0.2786, allocations: 286.8 kB / 496.3 MB, free: 14.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004789/0.279, allocations: 130.4 kB / 496.4 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.2793, allocations: 55.88 kB / 496.5 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002745/0.282, allocations: 2.154 MB / 498.6 MB, free: 13.15 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.2823, allocations: 12.45 kB / 498.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.2823, allocations: 11 kB / 498.6 MB, free: 13.14 MB / 330.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.0002745/0.2826, allocations: 195.1 kB / 498.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.541e-05/0.2826, allocations: 30.12 kB / 498.9 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004443/0.2831, allocations: 255.4 kB / 499.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.2831, allocations: 2.344 kB / 499.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.2831, allocations: 1.312 kB / 499.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.2831, allocations: 5.344 kB / 499.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.2843, allocations: 0.7215 MB / 499.8 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2843, allocations: 1.344 kB / 499.8 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.2845, allocations: 40 kB / 499.9 MB, free: 12.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001045/0.2846, allocations: 29.23 kB / 499.9 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.2846, allocations: 7.703 kB / 499.9 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.2857, allocations: 1.478 MB / 0.4896 GB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2858, allocations: 9.156 kB / 0.4896 GB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005434/0.2863, allocations: 422.8 kB / 0.4901 GB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.884e-05/0.2864, allocations: 110.3 kB / 0.4902 GB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.2865, allocations: 8.469 kB / 0.4902 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.2866, allocations: 10.02 kB / 0.4902 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/0.2867, allocations: 13.88 kB / 0.4902 GB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.2867, allocations: 5.875 kB / 0.4902 GB, free: 10.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002412/0.2869, allocations: 216.3 kB / 0.4904 GB, free: 10.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.287, allocations: 0 / 0.4904 GB, free: 10.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005026/0.2875, allocations: 87.19 kB / 0.4905 GB, free: 10.41 MB / 330.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.0008495/0.2883, allocations: 0.9532 MB / 0.4914 GB, free: 9.609 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007494/0.2891, allocations: 397.8 kB / 0.4918 GB, free: 9.395 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2891, allocations: 5.156 kB / 0.4918 GB, free: 9.391 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.2895, allocations: 227.6 kB / 0.492 GB, free: 9.238 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005187/0.29, allocations: 62.53 kB / 0.4921 GB, free: 9.211 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003778/0.2938, allocations: 2.396 MB / 0.4944 GB, free: 7.566 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000458/0.2943, allocations: 0.8408 MB / 0.4952 GB, free: 6.793 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.2945, allocations: 125.4 kB / 0.4954 GB, free: 6.691 MB / 330.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2945, allocations: 0 / 0.4954 GB, free: 6.691 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.284/3.579, allocations: 7.027 MB / 0.5022 GB, free: 2.738 MB / 330.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)