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.001302/0.001302, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 195.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1298/0.1298, allocations: 5.387 MB / 295.8 MB, free: 2.91 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 59.91 kB / 357.4 MB, free: 1.59 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09103/0.09222, allocations: 50.62 MB / 408 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.005718/0.09797, allocations: 4.353 MB / 412.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002694/0.1007, allocations: 1.588 MB / 414 MB, free: 8.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000451/0.1012, allocations: 16 kB / 414 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002165/0.1034, allocations: 0.8943 MB / 414.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.1049, allocations: 0.6218 MB / 415.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005237/0.1054, allocations: 235.4 kB / 415.7 MB, free: 7.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006823/0.1061, allocations: 0.5686 MB / 416.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00103/0.1072, allocations: 0.6932 MB / 417 MB, free: 5.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003524/0.1075, allocations: 247.1 kB / 417.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000436/0.108, allocations: 322.7 kB / 417.5 MB, free: 5.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.1081, allocations: 72 kB / 417.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.1086, allocations: 219.9 kB / 417.8 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.1087, allocations: 151.5 kB / 418 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000356/0.1091, allocations: 306.6 kB / 418.3 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.1101, allocations: 0.8957 MB / 419.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1101, allocations: 0 / 419.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1101, allocations: 0 / 419.2 MB, free: 3.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.087e-05/0.1101, allocations: 0 / 419.2 MB, free: 3.719 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.002301/0.1124, allocations: 0.9916 MB / 420.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1125, allocations: 15.97 kB / 420.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/0.1145, allocations: 304 kB / 420.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004542/0.115, allocations: 363.9 kB / 420.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.219e-05/0.115, allocations: 50.38 kB / 420.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.704e-05/0.1151, allocations: 76.36 kB / 421 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.1163, allocations: 0.7008 MB / 421.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.1163, allocations: 0 / 421.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.301e-05/0.1164, allocations: 32 kB / 421.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.1164, allocations: 19.94 kB / 421.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.1175, allocations: 0.5752 MB / 422.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1693/0.2867, allocations: 2.745 MB / 425 MB, free: 46.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.2879, allocations: 0.9025 MB / 425.9 MB, free: 45.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002295/0.2882, allocations: 130.5 kB / 426.1 MB, free: 45.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.459e-05/0.2883, allocations: 98.14 kB / 426.1 MB, free: 45.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.2883, allocations: 30.56 kB / 426.2 MB, free: 45.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 3.547e-06/0.2883, allocations: 3.25 kB / 426.2 MB, free: 45.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0007136/0.289, allocations: 328.6 kB / 426.5 MB, free: 45.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.2891, allocations: 91.67 kB / 426.6 MB, free: 45.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.2893, allocations: 285.8 kB / 426.9 MB, free: 45.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.2894, allocations: 29.7 kB / 426.9 MB, free: 45.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.2895, allocations: 322.1 kB / 427.2 MB, free: 44.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.2895, allocations: 99.95 kB / 427.3 MB, free: 44.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.2897, allocations: 87.16 kB / 427.4 MB, free: 44.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.113e-05/0.2897, allocations: 339.2 kB / 427.7 MB, free: 44.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.29, allocations: 146.3 kB / 427.9 MB, free: 44.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002633/0.2902, allocations: 271.7 kB / 428.1 MB, free: 44.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004828/0.2907, allocations: 394.7 kB / 428.5 MB, free: 43.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.2907, allocations: 2.688 kB / 428.5 MB, free: 43.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006687/0.2914, allocations: 462.8 kB / 429 MB, free: 43.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.2915, allocations: 9.562 kB / 429 MB, free: 43.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2915, allocations: 3.281 kB / 429 MB, free: 43.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.2915, allocations: 8.5 kB / 429 MB, free: 43.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/0.292, allocations: 121.8 kB / 429.1 MB, free: 43.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.292, allocations: 13.94 kB / 429.1 MB, free: 43.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.2923, allocations: 59.78 kB / 429.2 MB, free: 43.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.2923, allocations: 22.67 kB / 429.2 MB, free: 43.73 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002733/0.2926, allocations: 185.6 kB / 429.4 MB, free: 43.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.734e-05/0.2926, allocations: 30.72 kB / 429.4 MB, free: 43.56 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005471/0.2932, allocations: 303.5 kB / 429.7 MB, free: 43.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.83e-06/0.2932, allocations: 6.609 kB / 429.7 MB, free: 43.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.2932, allocations: 3.938 kB / 429.7 MB, free: 43.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2932, allocations: 0 / 429.7 MB, free: 43.42 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.2944, allocations: 0.8684 MB / 430.6 MB, free: 42.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2944, allocations: 1.203 kB / 430.6 MB, free: 42.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003288/0.2947, allocations: 77.78 kB / 430.7 MB, free: 42.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2947, allocations: 0 / 430.7 MB, free: 42.89 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.2947, allocations: 11.22 kB / 430.7 MB, free: 42.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.2947, allocations: 3 kB / 430.7 MB, free: 42.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2948, allocations: 3.281 kB / 430.7 MB, free: 42.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006616/0.2954, allocations: 0.549 MB / 431.2 MB, free: 42.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.2955, allocations: 103 kB / 431.3 MB, free: 42.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.2955, allocations: 18.31 kB / 431.4 MB, free: 42.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.2957, allocations: 10.06 kB / 431.4 MB, free: 42.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.2958, allocations: 16.11 kB / 431.4 MB, free: 42.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.2958, allocations: 13.66 kB / 431.4 MB, free: 42.41 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.296, allocations: 203.3 kB / 431.6 MB, free: 42.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.296, allocations: 3.281 kB / 431.6 MB, free: 42.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005013/0.2965, allocations: 137.4 kB / 431.7 MB, free: 42.25 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001666/0.2967, allocations: 130.7 kB / 431.9 MB, free: 42.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005728/0.2972, allocations: 330.5 kB / 432.2 MB, free: 42.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2973, allocations: 0 / 432.2 MB, free: 42.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001862/0.2975, allocations: 125.3 kB / 432.3 MB, free: 42.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.2979, allocations: 33.12 kB / 432.3 MB, free: 42.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.2989, allocations: 0.8123 MB / 433.2 MB, free: 41.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002186/0.2992, allocations: 0.8252 MB / 434 MB, free: 40.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002033/0.2994, allocations: 46.64 kB / 434 MB, free: 40.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.593e-05/0.2995, allocations: 32.25 kB / 434.1 MB, free: 40.8 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2995, allocations: 0 / 434.1 MB, free: 40.8 MB / 350.1 MB Notification: Performance of Templates: time 0.006731/0.3062, allocations: 3.477 MB / 437.5 MB, free: 40.56 MB / 350.1 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)