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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002582/0.002582, allocations: 179.5 kB / 7.458 MB, free: 2.5 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.103/1.103, allocations: 221.4 MB / 229.3 MB, free: 3.07 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.0008613/0.0008614, allocations: 96.44 kB / 280.1 MB, free: 1.309 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0241/0.0241, allocations: 5.293 MB / 336.2 MB, free: 9.297 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.173/0.1971, allocations: 57.71 MB / 393.9 MB, free: 71.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07326/0.2704, allocations: 51.61 MB / 445.5 MB, free: 19.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2278/0.4982, allocations: 86.11 MB / 0.5192 GB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.4985, allocations: 68.66 kB / 0.5192 GB, free: 15.45 MB / 346.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.0394/0.5379, allocations: 18.04 MB / 0.5368 GB, free: 1.027 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.538, allocations: 8 kB / 0.5368 GB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/0.5394, allocations: 247.6 kB / 0.5371 GB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.5398, allocations: 343.8 kB / 0.5374 GB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.5398, allocations: 24 kB / 0.5374 GB, free: 488 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-05/0.5399, allocations: 43.91 kB / 0.5375 GB, free: 444 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008144/0.5407, allocations: 0.508 MB / 0.538 GB, free: 128 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00086/0.5416, allocations: 0.5569 MB / 0.5385 GB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.5416, allocations: 0 / 0.5385 GB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.671e-05/0.5417, allocations: 3.984 kB / 0.5385 GB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.5417, allocations: 16 kB / 0.5385 GB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003378/0.5451, allocations: 2.683 MB / 0.5412 GB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003917/0.5455, allocations: 283 kB / 0.5414 GB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.5457, allocations: 107.1 kB / 0.5415 GB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.615e-05/0.5457, allocations: 81.34 kB / 0.5416 GB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.5458, allocations: 46.11 kB / 0.5416 GB, free: 13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.463e-06/0.5458, allocations: 0 / 0.5416 GB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005155/0.5463, allocations: 237 kB / 0.5419 GB, free: 12.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.5464, allocations: 81.11 kB / 0.542 GB, free: 12.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.5466, allocations: 215.3 kB / 0.5422 GB, free: 12.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.5466, allocations: 25.7 kB / 0.5422 GB, free: 12.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.5468, allocations: 326.6 kB / 0.5425 GB, free: 12.21 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.129e-05/0.5468, allocations: 92.94 kB / 0.5426 GB, free: 12.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/0.5468, allocations: 0 / 0.5426 GB, free: 12.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.547, allocations: 332.8 kB / 0.5429 GB, free: 11.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.5471, allocations: 139.5 kB / 0.543 GB, free: 11.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.5474, allocations: 241 kB / 0.5433 GB, free: 11.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/0.5477, allocations: 165 kB / 0.5434 GB, free: 11.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5477, allocations: 0 / 0.5434 GB, free: 11.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000683/0.5484, allocations: 428.4 kB / 0.5438 GB, free: 11.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.5484, allocations: 4 kB / 0.5438 GB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.5485, allocations: 4.562 kB / 0.5438 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.5485, allocations: 12 kB / 0.5438 GB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004334/0.5489, allocations: 107.3 kB / 0.5439 GB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.549, allocations: 11.92 kB / 0.544 GB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.5493, allocations: 43.53 kB / 0.544 GB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-05/0.5493, allocations: 27.61 kB / 0.544 GB, free: 10.86 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.0001452/0.5494, allocations: 114.3 kB / 0.5441 GB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.832e-05/0.5495, allocations: 27.62 kB / 0.5442 GB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005407/0.5501, allocations: 287.7 kB / 0.5444 GB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.5501, allocations: 4 kB / 0.5444 GB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.5501, allocations: 0 / 0.5444 GB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.5501, allocations: 3.984 kB / 0.5444 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009796/0.5511, allocations: 0.744 MB / 0.5452 GB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.5511, allocations: 3.938 kB / 0.5452 GB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/0.5514, allocations: 63.84 kB / 0.5452 GB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.5514, allocations: 3.906 kB / 0.5452 GB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.5515, allocations: 3.938 kB / 0.5452 GB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.5515, allocations: 8 kB / 0.5453 GB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.5515, allocations: 0 / 0.5453 GB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006079/0.5521, allocations: 0.5572 MB / 0.5458 GB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008558/0.553, allocations: 1.047 MB / 0.5468 GB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-05/0.553, allocations: 108.6 kB / 0.5469 GB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.5531, allocations: 0 / 0.5469 GB, free: 8.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.5533, allocations: 16.11 kB / 0.5469 GB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.5534, allocations: 23.84 kB / 0.547 GB, free: 8.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.5534, allocations: 4 kB / 0.547 GB, free: 8.332 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001259/0.5535, allocations: 163.2 kB / 0.5471 GB, free: 8.203 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001048/0.5546, allocations: 150.6 kB / 0.5473 GB, free: 8.07 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.0002058/0.5548, allocations: 147 kB / 0.5474 GB, free: 7.922 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004102/0.5552, allocations: 299.4 kB / 0.5477 GB, free: 7.723 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5552, allocations: 0 / 0.5477 GB, free: 7.723 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.5554, allocations: 114.6 kB / 0.5478 GB, free: 7.648 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.5557, allocations: 16.17 kB / 0.5478 GB, free: 7.637 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.5568, allocations: 0.5648 MB / 0.5484 GB, free: 7.113 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005013/0.5573, allocations: 0.8665 MB / 0.5492 GB, free: 6.223 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5573, allocations: 0 / 0.5492 GB, free: 6.223 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)