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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008535/0.0008534, allocations: 95.36 kB / 285.6 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02444/0.02444, allocations: 5.287 MB / 341.8 MB, free: 4.793 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.561e-05/3.563e-05, allocations: 0 / 401.3 MB, free: 65.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1074, allocations: 51.61 MB / 452.9 MB, free: 13.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3862/0.4936, allocations: 87.09 MB / 0.5274 GB, free: 6.016 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.4938, allocations: 70.66 kB / 0.5274 GB, free: 5.984 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04361/0.5375, allocations: 17.78 MB / 0.5448 GB, free: 7.469 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5375, allocations: 0 / 0.5448 GB, free: 7.469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.053e-05/0.5375, allocations: 8 kB / 0.5448 GB, free: 7.461 MB / 362.7 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.002209/0.5398, allocations: 0.8102 MB / 0.5456 GB, free: 6.664 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.743e-05/0.5398, allocations: 12.03 kB / 0.5456 GB, free: 6.652 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002322/0.5401, allocations: 107.6 kB / 0.5457 GB, free: 6.578 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/0.5416, allocations: 227.7 kB / 0.5459 GB, free: 6.375 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005798/0.5422, allocations: 353.5 kB / 0.5463 GB, free: 6.066 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.914e-05/0.5423, allocations: 51.12 kB / 0.5463 GB, free: 6.039 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.5424, allocations: 62.94 kB / 0.5464 GB, free: 5.996 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.5437, allocations: 0.6697 MB / 0.547 GB, free: 5.543 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.097e-05/0.5438, allocations: 4 kB / 0.547 GB, free: 5.539 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-05/0.5438, allocations: 24.69 kB / 0.5471 GB, free: 5.535 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.5439, allocations: 19.98 kB / 0.5471 GB, free: 5.516 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.5449, allocations: 0.5392 MB / 0.5476 GB, free: 5.176 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004938/0.5499, allocations: 2.804 MB / 0.5503 GB, free: 2.828 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.5513, allocations: 0.9688 MB / 0.5513 GB, free: 1.812 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.5515, allocations: 117.5 kB / 0.5514 GB, free: 1.734 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.5516, allocations: 85.33 kB / 0.5515 GB, free: 1.633 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.5517, allocations: 37.55 kB / 0.5515 GB, free: 1.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.955e-06/0.5517, allocations: 0 / 0.5515 GB, free: 1.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.000542/0.5522, allocations: 230.6 kB / 0.5517 GB, free: 1.418 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.5523, allocations: 84.45 kB / 0.5518 GB, free: 1.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00034/0.5526, allocations: 262.8 kB / 0.5521 GB, free: 1.105 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.128e-05/0.5527, allocations: 29.02 kB / 0.5521 GB, free: 1.074 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.5529, allocations: 312.3 kB / 0.5524 GB, free: 0.8008 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.553, allocations: 107.3 kB / 0.5525 GB, free: 0.707 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/0.5531, allocations: 10.12 kB / 0.5525 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.5532, allocations: 339.5 kB / 0.5528 GB, free: 384 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.5535, allocations: 131.5 kB / 0.553 GB, free: 300 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.5538, allocations: 251 kB / 0.5532 GB, free: 48 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.5541, allocations: 152.6 kB / 0.5533 GB, free: 15.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.5541, allocations: 4 kB / 0.5533 GB, free: 15.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0006747/0.5548, allocations: 426.1 kB / 0.5538 GB, free: 15.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.5548, allocations: 9.719 kB / 0.5538 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.5548, allocations: 4 kB / 0.5538 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.5549, allocations: 8 kB / 0.5538 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.5553, allocations: 111.8 kB / 0.5539 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/0.5553, allocations: 15.92 kB / 0.5539 GB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003168/0.5556, allocations: 58.81 kB / 0.554 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.728e-05/0.5557, allocations: 23.3 kB / 0.554 GB, free: 15.41 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: voltageSource.pin_p.reference.gamma:VARIABLE(start = 0.0 unit = "rad" ) 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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.0001889/0.5559, allocations: 132.9 kB / 0.5541 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.567e-05/0.556, allocations: 31.34 kB / 0.5541 GB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005063/0.5565, allocations: 279.7 kB / 0.5544 GB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.5565, allocations: 0 / 0.5544 GB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.5565, allocations: 7.938 kB / 0.5544 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.5565, allocations: 3.984 kB / 0.5544 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.5579, allocations: 0.8891 MB / 0.5553 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.5579, allocations: 0 / 0.5553 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002922/0.5582, allocations: 59.03 kB / 0.5553 GB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.5582, allocations: 4 kB / 0.5553 GB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.244e-05/0.5582, allocations: 7.688 kB / 0.5553 GB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.5582, allocations: 3.953 kB / 0.5553 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5583, allocations: 0 / 0.5553 GB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006393/0.5589, allocations: 0.5289 MB / 0.5559 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.97e-05/0.559, allocations: 112 kB / 0.556 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.7e-05/0.5591, allocations: 11.77 kB / 0.556 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.5593, allocations: 15.67 kB / 0.556 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.5594, allocations: 19.23 kB / 0.556 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.5594, allocations: 11.98 kB / 0.556 GB, free: 13.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002048/0.5596, allocations: 199.2 kB / 0.5562 GB, free: 13.47 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5596, allocations: 0 / 0.5562 GB, free: 13.47 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005634/0.5602, allocations: 148.4 kB / 0.5564 GB, free: 13.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (converter.integrator.y,voltageSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * 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.001094/0.5613, allocations: 1.199 MB / 0.5575 GB, free: 12.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000463/0.5618, allocations: 276.7 kB / 0.5578 GB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.5618, allocations: 3.938 kB / 0.5578 GB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.5619, allocations: 119.3 kB / 0.5579 GB, free: 11.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.5623, allocations: 25.94 kB / 0.5579 GB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.5637, allocations: 0.6664 MB / 0.5586 GB, free: 11.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004317/0.5642, allocations: 0.8382 MB / 0.5594 GB, free: 10.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002002/0.5644, allocations: 50.94 kB / 0.5595 GB, free: 10.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.5646, allocations: 160.9 kB / 0.5596 GB, free: 10.36 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5646, allocations: 0 / 0.5596 GB, free: 10.36 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.5842, allocations: 7.019 MB / 0.5665 GB, free: 3.508 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/0.5845, allocations: 178 kB / 0.5666 GB, free: 3.281 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/2.641, allocations: 3.938 kB / 0.5666 GB, free: 3.277 MB / 378.7 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)