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.0007409/0.000741, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008107/0.0008107, allocations: 168.7 kB / 15.95 MB, free: 204 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.291/1.291, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1456/0.1456, allocations: 5.377 MB / 296.5 MB, free: 3.98 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003439, allocations: 4 kB / 358.6 MB, free: 1.594 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.104, allocations: 51.6 MB / 410.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.004608/0.1086, allocations: 3.736 MB / 413.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002688/0.1114, allocations: 1.434 MB / 415.3 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005014/0.1119, allocations: 12 kB / 415.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006463/0.1126, allocations: 159.2 kB / 415.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001495/0.1141, allocations: 497.9 kB / 416 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005326/0.1146, allocations: 167.7 kB / 416.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007254/0.1153, allocations: 0.514 MB / 416.7 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00195/0.1173, allocations: 1.056 MB / 417.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000354/0.1177, allocations: 183.2 kB / 417.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004579/0.1181, allocations: 254.9 kB / 418.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.961e-05/0.1182, allocations: 28 kB / 418.2 MB, free: 5.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004716/0.1187, allocations: 163.8 kB / 418.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.286e-05/0.1188, allocations: 95.59 kB / 418.4 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.119, allocations: 121.5 kB / 418.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008027/0.1198, allocations: 0.6973 MB / 419.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1198, allocations: 0 / 419.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1198, allocations: 0 / 419.2 MB, free: 4.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.969e-05/0.1198, allocations: 0 / 419.2 MB, free: 4.777 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.002383/0.1222, allocations: 0.8899 MB / 420.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.1223, allocations: 8.031 kB / 420.1 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001936/0.1242, allocations: 307.1 kB / 420.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006221/0.1249, allocations: 358.6 kB / 420.8 MB, free: 3.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.838e-05/0.1249, allocations: 57.92 kB / 420.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.1251, allocations: 71.91 kB / 420.9 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.1265, allocations: 0.6966 MB / 421.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/0.1266, allocations: 3.938 kB / 421.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.06e-05/0.1266, allocations: 28 kB / 421.6 MB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.1267, allocations: 16 kB / 421.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.1279, allocations: 0.5868 MB / 422.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1848/0.3127, allocations: 2.756 MB / 425 MB, free: 42.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009931/0.3137, allocations: 0.9129 MB / 425.9 MB, free: 42.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.314, allocations: 131.9 kB / 426 MB, free: 42.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.016e-05/0.314, allocations: 88.5 kB / 426.1 MB, free: 42.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.3141, allocations: 36.61 kB / 426.2 MB, free: 41.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.645e-06/0.3141, allocations: 0 / 426.2 MB, free: 41.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006585/0.3147, allocations: 346.4 kB / 426.5 MB, free: 41.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.3148, allocations: 88.12 kB / 426.6 MB, free: 41.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.315, allocations: 285.2 kB / 426.9 MB, free: 41.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.315, allocations: 29.2 kB / 426.9 MB, free: 41.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.3151, allocations: 318.9 kB / 427.2 MB, free: 41.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.596e-05/0.3152, allocations: 99.23 kB / 427.3 MB, free: 41.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.3152, allocations: 9.812 kB / 427.3 MB, free: 41.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.013e-05/0.3153, allocations: 337.7 kB / 427.6 MB, free: 41.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.3155, allocations: 158.6 kB / 427.8 MB, free: 41.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/0.3158, allocations: 261.3 kB / 428.1 MB, free: 41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.316, allocations: 169.3 kB / 428.2 MB, free: 41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.316, allocations: 0 / 428.2 MB, free: 41 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006017/0.3166, allocations: 470.9 kB / 428.7 MB, free: 40.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3167, allocations: 10.92 kB / 428.7 MB, free: 40.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.3167, allocations: 3.609 kB / 428.7 MB, free: 40.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3167, allocations: 9.375 kB / 428.7 MB, free: 40.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004055/0.3171, allocations: 135.6 kB / 428.8 MB, free: 40.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.3171, allocations: 10.03 kB / 428.9 MB, free: 40.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.3174, allocations: 64.58 kB / 428.9 MB, free: 40.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.3174, allocations: 19.97 kB / 428.9 MB, free: 40.9 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.0002648/0.3177, allocations: 198.6 kB / 429.1 MB, free: 40.78 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.017e-05/0.3177, allocations: 24.73 kB / 429.2 MB, free: 40.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005044/0.3182, allocations: 311.4 kB / 429.5 MB, free: 40.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.3183, allocations: 3.859 kB / 429.5 MB, free: 40.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3183, allocations: 0 / 429.5 MB, free: 40.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.3183, allocations: 6.5 kB / 429.5 MB, free: 40.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.3194, allocations: 0.877 MB / 430.3 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3194, allocations: 1.922 kB / 430.3 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/0.3197, allocations: 84.89 kB / 430.4 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.3197, allocations: 1.875 kB / 430.4 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.3198, allocations: 7.812 kB / 430.4 MB, free: 40.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.3198, allocations: 8.25 kB / 430.4 MB, free: 40.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3198, allocations: 5.359 kB / 430.5 MB, free: 40.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006593/0.3205, allocations: 0.5483 MB / 431 MB, free: 40.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.3205, allocations: 117 kB / 431.1 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.3206, allocations: 7.438 kB / 431.1 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.3208, allocations: 19.97 kB / 431.1 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.3208, allocations: 23.66 kB / 431.2 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.3208, allocations: 6.594 kB / 431.2 MB, free: 40.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.321, allocations: 205.3 kB / 431.4 MB, free: 39.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.321, allocations: 0 / 431.4 MB, free: 39.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005376/0.3216, allocations: 138.1 kB / 431.5 MB, free: 39.92 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.0001709/0.3218, allocations: 139.7 kB / 431.6 MB, free: 39.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004774/0.3222, allocations: 318 kB / 432 MB, free: 39.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3223, allocations: 256 / 432 MB, free: 39.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001761/0.3224, allocations: 133.9 kB / 432.1 MB, free: 39.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.3228, allocations: 29.92 kB / 432.1 MB, free: 39.79 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.3241, allocations: 1.024 MB / 433.1 MB, free: 39.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.3244, allocations: 0.8251 MB / 434 MB, free: 38.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.3246, allocations: 53.77 kB / 434 MB, free: 38.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.72e-05/0.3246, allocations: 27.19 kB / 434 MB, free: 38.46 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3246, allocations: 2.906 kB / 434 MB, free: 38.46 MB / 350.1 MB Notification: Performance of Templates: time 0.006379/0.331, allocations: 3.156 MB / 437.2 MB, free: 38.24 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: