Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter",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.001129/0.001129, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001146/0.001146, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1788/0.1788, allocations: 5.379 MB / 296.4 MB, free: 3.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002998/0.0002999, allocations: 8 kB / 358.6 MB, free: 1.512 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1008, allocations: 51.59 MB / 410.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.004363/0.1052, allocations: 3.577 MB / 413.7 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00238/0.1077, allocations: 1.438 MB / 415.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002114/0.1079, allocations: 19.94 kB / 415.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003881/0.1083, allocations: 151.2 kB / 415.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.1094, allocations: 0.5101 MB / 415.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.1097, allocations: 163.7 kB / 416 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004451/0.1102, allocations: 379.7 kB / 416.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.1119, allocations: 1.044 MB / 417.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.1122, allocations: 179.3 kB / 417.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003207/0.1125, allocations: 250.9 kB / 417.8 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.617e-05/0.1125, allocations: 24 kB / 417.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003558/0.1129, allocations: 143.9 kB / 418 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.376e-05/0.113, allocations: 91.61 kB / 418.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.436e-05/0.1131, allocations: 125.5 kB / 418.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007099/0.1138, allocations: 0.6818 MB / 418.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1138, allocations: 0 / 418.9 MB, free: 5.047 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1138, allocations: 4 kB / 418.9 MB, free: 5.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.1138, allocations: 0 / 418.9 MB, free: 5.043 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001955/0.1158, allocations: 0.892 MB / 419.8 MB, free: 4.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1159, allocations: 12.03 kB / 419.8 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.116, allocations: 110.5 kB / 419.9 MB, free: 3.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/0.1179, allocations: 307.1 kB / 420.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/0.1183, allocations: 360.2 kB / 420.6 MB, free: 3.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.642e-05/0.1184, allocations: 50 kB / 420.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.716e-05/0.1185, allocations: 67.91 kB / 420.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.1196, allocations: 0.6966 MB / 421.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.1196, allocations: 3.938 kB / 421.4 MB, free: 2.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.424e-05/0.1197, allocations: 24 kB / 421.4 MB, free: 2.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.1197, allocations: 16 kB / 421.4 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009906/0.1207, allocations: 0.5946 MB / 422 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1994/0.3202, allocations: 2.76 MB / 424.8 MB, free: 43.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.3213, allocations: 0.9068 MB / 425.7 MB, free: 42.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-05/0.3214, allocations: 89.17 kB / 425.8 MB, free: 42.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.789e-05/0.3214, allocations: 39.66 kB / 425.8 MB, free: 42.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.404e-06/0.3214, allocations: 0 / 425.8 MB, free: 42.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.000755/0.3222, allocations: 347.9 kB / 426.1 MB, free: 42.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.3222, allocations: 80.36 kB / 426.2 MB, free: 42.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.3225, allocations: 291.3 kB / 426.5 MB, free: 41.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.3225, allocations: 30.42 kB / 426.5 MB, free: 41.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.3227, allocations: 317.7 kB / 426.8 MB, free: 41.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.461e-05/0.3227, allocations: 97.22 kB / 426.9 MB, free: 41.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/0.3228, allocations: 9.844 kB / 426.9 MB, free: 41.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.957e-05/0.3228, allocations: 340.5 kB / 427.3 MB, free: 41.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.3231, allocations: 156.2 kB / 427.4 MB, free: 41.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.3233, allocations: 264.3 kB / 427.7 MB, free: 41.21 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.3236, allocations: 164.5 kB / 427.9 MB, free: 41.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.3236, allocations: 0 / 427.9 MB, free: 41.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000656/0.3243, allocations: 473.5 kB / 428.3 MB, free: 41.15 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.3243, allocations: 9.531 kB / 428.3 MB, free: 41.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3243, allocations: 3.375 kB / 428.3 MB, free: 41.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3243, allocations: 7.406 kB / 428.3 MB, free: 41.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/0.3248, allocations: 139.5 kB / 428.5 MB, free: 41.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3248, allocations: 10.94 kB / 428.5 MB, free: 41.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.3251, allocations: 59.56 kB / 428.5 MB, free: 41.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.3251, allocations: 19.44 kB / 428.6 MB, free: 41.11 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: voltageSource.pin_p.reference.gamma:VARIABLE(flow=false start = 0.0 unit = "rad" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002661/0.3254, allocations: 198.5 kB / 428.8 MB, free: 40.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.899e-05/0.3254, allocations: 28.34 kB / 428.8 MB, free: 40.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005123/0.326, allocations: 309.1 kB / 429.1 MB, free: 40.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.326, allocations: 3.828 kB / 429.1 MB, free: 40.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.326, allocations: 7.812 kB / 429.1 MB, free: 40.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.326, allocations: 3.469 kB / 429.1 MB, free: 40.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.3271, allocations: 0.8778 MB / 430 MB, free: 40.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3271, allocations: 3.938 kB / 430 MB, free: 40.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/0.3274, allocations: 87.59 kB / 430.1 MB, free: 40.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3275, allocations: 3.375 kB / 430.1 MB, free: 40.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.3275, allocations: 3.375 kB / 430.1 MB, free: 40.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.3275, allocations: 3.469 kB / 430.1 MB, free: 40.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3275, allocations: 0 / 430.1 MB, free: 40.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006997/0.3282, allocations: 0.5721 MB / 430.6 MB, free: 40.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-05/0.3283, allocations: 112.3 kB / 430.8 MB, free: 40.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.3283, allocations: 6.344 kB / 430.8 MB, free: 40.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.3285, allocations: 21.59 kB / 430.8 MB, free: 40.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.3286, allocations: 15.66 kB / 430.8 MB, free: 40.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.3286, allocations: 8.094 kB / 430.8 MB, free: 40.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001572/0.3288, allocations: 208.2 kB / 431 MB, free: 40.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3288, allocations: 0 / 431 MB, free: 40.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004786/0.3293, allocations: 141.8 kB / 431.1 MB, free: 40.12 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (voltageSource.pin_p.reference.gamma,converter.integrator.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008439/0.3301, allocations: 1.215 MB / 432.4 MB, free: 39.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000489/0.3306, allocations: 306.5 kB / 432.7 MB, free: 39.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.3306, allocations: 4.125 kB / 432.7 MB, free: 39.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.3308, allocations: 132 kB / 432.8 MB, free: 39.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.3311, allocations: 23.45 kB / 432.8 MB, free: 39.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.3341, allocations: 4.871 MB / 437.7 MB, free: 35.49 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.3343, allocations: 0.8342 MB / 438.5 MB, free: 34.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001729/0.3345, allocations: 51.62 kB / 438.6 MB, free: 34.78 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.3347, allocations: 161.7 kB / 438.7 MB, free: 34.77 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3347, allocations: 1.219 kB / 438.7 MB, free: 34.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.3505, allocations: 6.562 MB / 445.3 MB, free: 34.32 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001318/0.3507, allocations: 205.4 kB / 445.5 MB, free: 34.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.1, allocations: 0 / 445.5 MB, free: 34.07 MB / 350.1 MB (rm -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter_fmu --startTime=0 --stopTime=180 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter.fmu > PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe 2>&1) Environment - environmentSimulation: