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: translateModel(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter") translateModel(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009233/0.0009234, allocations: 176.1 kB / 7.643 MB, free: 1.414 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.309/1.309, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0009607/0.0009607, allocations: 91.59 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02293/0.02293, allocations: 5.29 MB / 336.5 MB, free: 9.934 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.102e-05/1.106e-05, allocations: 0 / 394.4 MB, free: 36 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2343, allocations: 51.6 MB / 446 MB, free: 13.07 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1105/0.3448, allocations: 86.19 MB / 0.5197 GB, free: 6.754 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.3451, allocations: 67.97 kB / 0.5197 GB, free: 6.688 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2725/0.6176, allocations: 17.56 MB / 0.5369 GB, free: 81.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.6176, allocations: 2.125 kB / 0.5369 GB, free: 81.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.642e-05/0.6177, allocations: 10.22 kB / 0.5369 GB, free: 81.74 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.001659/0.6193, allocations: 0.8025 MB / 0.5377 GB, free: 81.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.6194, allocations: 8.281 kB / 0.5377 GB, free: 81.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.6207, allocations: 239.9 kB / 0.5379 GB, free: 81.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004153/0.6212, allocations: 349.5 kB / 0.5383 GB, free: 80.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.6212, allocations: 19.28 kB / 0.5383 GB, free: 80.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.131e-05/0.6213, allocations: 38.22 kB / 0.5383 GB, free: 80.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008252/0.6221, allocations: 0.5057 MB / 0.5388 GB, free: 80.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008321/0.623, allocations: 0.5592 MB / 0.5394 GB, free: 80.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.623, allocations: 4 kB / 0.5394 GB, free: 80.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.376e-05/0.623, allocations: 0 / 0.5394 GB, free: 80.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.6231, allocations: 17.03 kB / 0.5394 GB, free: 80.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003075/0.6261, allocations: 2.671 MB / 0.542 GB, free: 78.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008898/0.6271, allocations: 0.9595 MB / 0.5429 GB, free: 77.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.6272, allocations: 107.4 kB / 0.543 GB, free: 77.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.866e-05/0.6273, allocations: 93.02 kB / 0.5431 GB, free: 77.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.6273, allocations: 33.8 kB / 0.5431 GB, free: 77.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.583e-06/0.6273, allocations: 0 / 0.5431 GB, free: 77.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005045/0.6278, allocations: 239.5 kB / 0.5434 GB, free: 77.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.6278, allocations: 87.06 kB / 0.5435 GB, free: 77.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.628, allocations: 220.8 kB / 0.5437 GB, free: 76.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.628, allocations: 29.73 kB / 0.5437 GB, free: 76.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.6281, allocations: 319.3 kB / 0.544 GB, free: 76.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/0.6282, allocations: 92.7 kB / 0.5441 GB, free: 76.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/0.6282, allocations: 0 / 0.5441 GB, free: 76.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.373e-05/0.6283, allocations: 334.5 kB / 0.5444 GB, free: 76.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.6285, allocations: 121.1 kB / 0.5445 GB, free: 76.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.6286, allocations: 238.1 kB / 0.5447 GB, free: 75.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.629, allocations: 202.5 kB / 0.5449 GB, free: 75.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.6291, allocations: 7.625 kB / 0.5449 GB, free: 75.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000683/0.6298, allocations: 441.5 kB / 0.5454 GB, free: 75.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.6298, allocations: 10.38 kB / 0.5454 GB, free: 75.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.6298, allocations: 14.56 kB / 0.5454 GB, free: 75.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.6298, allocations: 6.344 kB / 0.5454 GB, free: 75.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.6302, allocations: 109.2 kB / 0.5455 GB, free: 75.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.6302, allocations: 7.875 kB / 0.5455 GB, free: 75.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.6305, allocations: 50.92 kB / 0.5456 GB, free: 75.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.6306, allocations: 19.75 kB / 0.5456 GB, free: 75.48 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.0001318/0.6307, allocations: 124.5 kB / 0.5457 GB, free: 75.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.957e-05/0.6308, allocations: 23.25 kB / 0.5457 GB, free: 75.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004988/0.6313, allocations: 284.7 kB / 0.546 GB, free: 75.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.6313, allocations: 3.688 kB / 0.546 GB, free: 75.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.6313, allocations: 0 / 0.546 GB, free: 75.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6313, allocations: 4 kB / 0.546 GB, free: 75.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.6324, allocations: 0.8122 MB / 0.5468 GB, free: 74.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.6324, allocations: 0 / 0.5468 GB, free: 74.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.6326, allocations: 58.72 kB / 0.5468 GB, free: 74.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.6326, allocations: 3.938 kB / 0.5469 GB, free: 74.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.6327, allocations: 8 kB / 0.5469 GB, free: 74.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.6327, allocations: 3.875 kB / 0.5469 GB, free: 74.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.6327, allocations: 0 / 0.5469 GB, free: 74.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005779/0.6333, allocations: 0.5356 MB / 0.5474 GB, free: 74.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.369e-05/0.6333, allocations: 108.5 kB / 0.5475 GB, free: 74.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.6334, allocations: 0 / 0.5475 GB, free: 74.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.6336, allocations: 15.86 kB / 0.5475 GB, free: 74.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.154e-05/0.6337, allocations: 19.59 kB / 0.5475 GB, free: 74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.6337, allocations: 11.8 kB / 0.5475 GB, free: 74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001244/0.6338, allocations: 163.2 kB / 0.5477 GB, free: 73.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6339, allocations: 3.938 kB / 0.5477 GB, free: 73.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005503/0.6344, allocations: 145.1 kB / 0.5478 GB, free: 73.83 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.000203/0.6346, allocations: 139.9 kB / 0.548 GB, free: 73.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003564/0.635, allocations: 267.8 kB / 0.5482 GB, free: 73.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.635, allocations: 0 / 0.5482 GB, free: 73.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.6351, allocations: 99.88 kB / 0.5483 GB, free: 73.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.6354, allocations: 24.36 kB / 0.5483 GB, free: 73.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009595/0.6364, allocations: 0.5509 MB / 0.5489 GB, free: 72.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.6366, allocations: 0.834 MB / 0.5497 GB, free: 71.9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.6368, allocations: 55.2 kB / 0.5497 GB, free: 71.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.248e-05/0.6369, allocations: 23.44 kB / 0.5498 GB, free: 71.82 MB / 362.7 MB Notification: Performance of SimCode: time 4.11e-07/0.6369, allocations: 3.938 kB / 0.5498 GB, free: 71.82 MB / 362.7 MB Notification: Performance of Templates: time 0.00627/0.6432, allocations: 2.855 MB / 0.5526 GB, free: 68.98 MB / 362.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.makefile (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 & ./PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe 2>&1)