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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 99.86 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.001303/0.001303, allocations: 177.3 kB / 15.94 MB, free: 228 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.443/1.443, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1578/0.1578, allocations: 5.372 MB / 296.4 MB, free: 3.941 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003924, allocations: 8 kB / 358.5 MB, free: 1.559 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1292, allocations: 51.6 MB / 410 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.004834/0.1341, allocations: 3.577 MB / 413.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003364/0.1375, allocations: 1.442 MB / 415.1 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003738/0.1379, allocations: 16 kB / 415.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005356/0.1384, allocations: 147.2 kB / 415.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.1397, allocations: 0.5295 MB / 415.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005262/0.1402, allocations: 163.7 kB / 415.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005819/0.1408, allocations: 375.8 kB / 416.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.1426, allocations: 1.037 MB / 417.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003676/0.143, allocations: 183.2 kB / 417.5 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003063/0.1433, allocations: 243 kB / 417.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.1433, allocations: 28 kB / 417.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004126/0.1438, allocations: 147.8 kB / 417.9 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.684e-05/0.1438, allocations: 87.67 kB / 418 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.144, allocations: 129.4 kB / 418.1 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006988/0.1447, allocations: 0.6856 MB / 418.8 MB, free: 5.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.1447, allocations: 0 / 418.8 MB, free: 5.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1447, allocations: 4 kB / 418.8 MB, free: 5.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.1447, allocations: 0 / 418.8 MB, free: 5.07 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.002255/0.147, allocations: 0.886 MB / 419.7 MB, free: 4.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.147, allocations: 12.03 kB / 419.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001965/0.149, allocations: 307.1 kB / 420 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.1495, allocations: 357.6 kB / 420.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.788e-05/0.1495, allocations: 50 kB / 420.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-05/0.1496, allocations: 67.91 kB / 420.5 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.1509, allocations: 0.7004 MB / 421.2 MB, free: 2.602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.151, allocations: 8 kB / 421.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.759e-05/0.151, allocations: 24 kB / 421.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.151, allocations: 16 kB / 421.2 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.1521, allocations: 0.5829 MB / 421.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2267/0.3789, allocations: 2.758 MB / 424.6 MB, free: 42.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.3802, allocations: 0.9155 MB / 425.5 MB, free: 42.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-05/0.3802, allocations: 85.67 kB / 425.6 MB, free: 42.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.3803, allocations: 39.28 kB / 425.6 MB, free: 42.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.444e-06/0.3803, allocations: 0.6875 kB / 425.6 MB, free: 42.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.000869/0.3812, allocations: 347.4 kB / 425.9 MB, free: 42.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.3812, allocations: 80.36 kB / 426 MB, free: 41.94 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.3815, allocations: 290.2 kB / 426.3 MB, free: 41.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.3815, allocations: 32.83 kB / 426.3 MB, free: 41.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.3817, allocations: 321.1 kB / 426.6 MB, free: 41.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.772e-05/0.3818, allocations: 93.72 kB / 426.7 MB, free: 41.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/0.3818, allocations: 10 kB / 426.7 MB, free: 41.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.969e-05/0.3819, allocations: 341.6 kB / 427.1 MB, free: 41.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.3821, allocations: 152.9 kB / 427.2 MB, free: 41.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.3824, allocations: 260.1 kB / 427.5 MB, free: 41.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002785/0.3827, allocations: 169.9 kB / 427.6 MB, free: 41.08 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.3828, allocations: 3.938 kB / 427.7 MB, free: 41.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007014/0.3835, allocations: 469.6 kB / 428.1 MB, free: 41.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.3835, allocations: 6.219 kB / 428.1 MB, free: 41.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3835, allocations: 6.406 kB / 428.1 MB, free: 41.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.3835, allocations: 9.75 kB / 428.1 MB, free: 41.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/0.384, allocations: 131.5 kB / 428.3 MB, free: 41.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.384, allocations: 9.609 kB / 428.3 MB, free: 41.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.3843, allocations: 64.38 kB / 428.3 MB, free: 40.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.3844, allocations: 28.48 kB / 428.4 MB, free: 40.99 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.0002915/0.3847, allocations: 191.4 kB / 428.5 MB, free: 40.87 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.208e-05/0.3847, allocations: 25.47 kB / 428.6 MB, free: 40.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005579/0.3853, allocations: 313.9 kB / 428.9 MB, free: 40.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.373e-06/0.3853, allocations: 3.719 kB / 428.9 MB, free: 40.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3853, allocations: 3.953 kB / 428.9 MB, free: 40.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.3853, allocations: 3.781 kB / 428.9 MB, free: 40.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.3866, allocations: 0.8785 MB / 429.8 MB, free: 40.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3866, allocations: 3.953 kB / 429.8 MB, free: 40.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.3869, allocations: 89.53 kB / 429.9 MB, free: 40.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.387, allocations: 3.281 kB / 429.9 MB, free: 40.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.387, allocations: 9.281 kB / 429.9 MB, free: 40.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.387, allocations: 0.5 kB / 429.9 MB, free: 40.48 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.387, allocations: 4.625 kB / 429.9 MB, free: 40.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008162/0.3878, allocations: 0.5701 MB / 430.4 MB, free: 40.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.342e-05/0.3879, allocations: 108 kB / 430.6 MB, free: 40.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.996e-05/0.388, allocations: 7.531 kB / 430.6 MB, free: 40.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.3882, allocations: 18.31 kB / 430.6 MB, free: 40.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/0.3883, allocations: 18.78 kB / 430.6 MB, free: 40.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.3883, allocations: 8.75 kB / 430.6 MB, free: 40.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002105/0.3885, allocations: 204 kB / 430.8 MB, free: 40.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3885, allocations: 0 / 430.8 MB, free: 40.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005608/0.3891, allocations: 138.2 kB / 430.9 MB, free: 40 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.0002024/0.3893, allocations: 136.2 kB / 431.1 MB, free: 39.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005374/0.3898, allocations: 321.8 kB / 431.4 MB, free: 39.89 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3899, allocations: 1.125 kB / 431.4 MB, free: 39.89 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.3901, allocations: 126.1 kB / 431.5 MB, free: 39.88 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.3903, allocations: 29.59 kB / 431.5 MB, free: 39.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.3916, allocations: 1.024 MB / 432.6 MB, free: 39.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.3918, allocations: 0.8382 MB / 433.4 MB, free: 38.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001641/0.392, allocations: 50.66 kB / 433.5 MB, free: 38.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.631e-05/0.3921, allocations: 29.41 kB / 433.5 MB, free: 38.55 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3921, allocations: 0 / 433.5 MB, free: 38.55 MB / 350.1 MB Notification: Performance of Templates: time 0.006578/0.3987, allocations: 3.148 MB / 436.6 MB, free: 38.32 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: