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.001288/0.001288, allocations: 172.2 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 221.5 MB / 229.6 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008516/0.0008516, allocations: 98.05 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0227/0.0227, allocations: 5.298 MB / 336.5 MB, free: 9.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.548e-05/1.557e-05, allocations: 0 / 394.5 MB, free: 51.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0964/0.09645, allocations: 51.61 MB / 446.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.117/0.2135, allocations: 86.19 MB / 0.5198 GB, free: 6.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.2138, allocations: 75.95 kB / 0.5199 GB, free: 6.496 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3266/0.5405, allocations: 17.55 MB / 0.537 GB, free: 81.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5405, allocations: 0 / 0.537 GB, free: 81.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.101e-05/0.5405, allocations: 11.25 kB / 0.537 GB, free: 81.62 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.001666/0.5422, allocations: 0.8076 MB / 0.5378 GB, free: 81.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/0.5423, allocations: 7.375 kB / 0.5378 GB, free: 81.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.5437, allocations: 239.8 kB / 0.538 GB, free: 80.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.5441, allocations: 339.9 kB / 0.5384 GB, free: 80.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.5442, allocations: 23.66 kB / 0.5384 GB, free: 80.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.922e-05/0.5443, allocations: 38.44 kB / 0.5384 GB, free: 80.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009658/0.5452, allocations: 0.5002 MB / 0.5389 GB, free: 80.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008832/0.5461, allocations: 0.5676 MB / 0.5395 GB, free: 80.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.5462, allocations: 0 / 0.5395 GB, free: 80.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.511e-05/0.5462, allocations: 3.312 kB / 0.5395 GB, free: 80.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/0.5462, allocations: 16.09 kB / 0.5395 GB, free: 80.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003293/0.5495, allocations: 2.664 MB / 0.5421 GB, free: 78.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009815/0.5505, allocations: 0.9628 MB / 0.543 GB, free: 77.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.5507, allocations: 108 kB / 0.5431 GB, free: 77.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.19e-05/0.5508, allocations: 92.83 kB / 0.5432 GB, free: 77.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.5508, allocations: 34.52 kB / 0.5432 GB, free: 77.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.934e-06/0.5508, allocations: 0 / 0.5432 GB, free: 77.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005946/0.5514, allocations: 249.3 kB / 0.5435 GB, free: 76.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.5515, allocations: 81.05 kB / 0.5436 GB, free: 76.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.5517, allocations: 223.1 kB / 0.5438 GB, free: 76.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.5517, allocations: 25.7 kB / 0.5438 GB, free: 76.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.5518, allocations: 315.8 kB / 0.5441 GB, free: 76.37 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.5519, allocations: 97.55 kB / 0.5442 GB, free: 76.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.752e-05/0.5519, allocations: 0 / 0.5442 GB, free: 76.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.579e-05/0.552, allocations: 336.8 kB / 0.5445 GB, free: 75.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.5522, allocations: 119.8 kB / 0.5446 GB, free: 75.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.5524, allocations: 234.5 kB / 0.5449 GB, free: 75.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.5528, allocations: 209.4 kB / 0.5451 GB, free: 75.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.5528, allocations: 0 / 0.5451 GB, free: 75.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007043/0.5535, allocations: 448.6 kB / 0.5455 GB, free: 75.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.5536, allocations: 11.91 kB / 0.5455 GB, free: 75.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5536, allocations: 3.969 kB / 0.5455 GB, free: 75.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.5536, allocations: 7.719 kB / 0.5455 GB, free: 75.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/0.554, allocations: 109 kB / 0.5456 GB, free: 75.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.554, allocations: 11.69 kB / 0.5456 GB, free: 75.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002839/0.5543, allocations: 46.05 kB / 0.5457 GB, free: 75.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.5544, allocations: 29.38 kB / 0.5457 GB, free: 75.26 MB / 362.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.0001461/0.5545, allocations: 126.9 kB / 0.5458 GB, free: 75.14 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005802/0.5551, allocations: 242.4 kB / 0.546 GB, free: 75.01 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.57e-05/0.5552, allocations: 23.34 kB / 0.5461 GB, free: 75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006314/0.5559, allocations: 286.4 kB / 0.5463 GB, free: 74.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.5559, allocations: 3.969 kB / 0.5463 GB, free: 74.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.5559, allocations: 0 / 0.5463 GB, free: 74.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.5559, allocations: 3.984 kB / 0.5463 GB, free: 74.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.5571, allocations: 0.8048 MB / 0.5471 GB, free: 74.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5572, allocations: 0 / 0.5471 GB, free: 74.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.5574, allocations: 66.72 kB / 0.5472 GB, free: 74.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.5574, allocations: 0 / 0.5472 GB, free: 74.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.5575, allocations: 7.828 kB / 0.5472 GB, free: 74.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.5575, allocations: 0 / 0.5472 GB, free: 74.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.5575, allocations: 7.797 kB / 0.5472 GB, free: 74.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006148/0.5581, allocations: 0.5312 MB / 0.5477 GB, free: 73.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.441e-05/0.5582, allocations: 112.5 kB / 0.5478 GB, free: 73.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.5582, allocations: 0 / 0.5478 GB, free: 73.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.5584, allocations: 19.59 kB / 0.5479 GB, free: 73.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.5585, allocations: 15.73 kB / 0.5479 GB, free: 73.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.5585, allocations: 11.77 kB / 0.5479 GB, free: 73.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001235/0.5586, allocations: 166.4 kB / 0.548 GB, free: 73.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5587, allocations: 0 / 0.548 GB, free: 73.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005579/0.5592, allocations: 140.8 kB / 0.5482 GB, free: 73.39 MB / 362.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.0008503/0.5601, allocations: 1.193 MB / 0.5493 GB, free: 72.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003586/0.5604, allocations: 264.6 kB / 0.5496 GB, free: 71.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5605, allocations: 0 / 0.5496 GB, free: 71.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001179/0.5606, allocations: 99.88 kB / 0.5497 GB, free: 71.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.5609, allocations: 24.41 kB / 0.5497 GB, free: 71.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.5622, allocations: 0.644 MB / 0.5503 GB, free: 71.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.5625, allocations: 0.8379 MB / 0.5512 GB, free: 70.25 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001781/0.5627, allocations: 39.28 kB / 0.5512 GB, free: 70.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.5629, allocations: 159.4 kB / 0.5513 GB, free: 70.05 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5629, allocations: 0 / 0.5513 GB, free: 70.05 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.5885, allocations: 5.83 MB / 0.557 GB, free: 64.24 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/0.5888, allocations: 159.2 kB / 0.5572 GB, free: 64.05 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.49, allocations: 0 / 0.5572 GB, free: 64.05 MB / 362.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)