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.001257/0.001257, allocations: 109 kB / 16.41 MB, free: 6.5 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.001229/0.001229, allocations: 187 kB / 17.34 MB, free: 5.742 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.295/1.295, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02672/0.02672, allocations: 5.402 MB / 296.6 MB, free: 9.453 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 59.89 kB / 409.9 MB, free: 26.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.104, allocations: 50.63 MB / 460.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.005662/0.1097, allocations: 4.344 MB / 464.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.112, allocations: 1.608 MB / 466.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001989/0.1122, allocations: 12 kB / 466.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.1141, allocations: 0.8974 MB / 467.4 MB, free: 472 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.1153, allocations: 0.6295 MB / 468.1 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.1157, allocations: 227.5 kB / 468.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005635/0.1163, allocations: 0.5764 MB / 468.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009382/0.1173, allocations: 0.6813 MB / 469.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002686/0.1175, allocations: 247.1 kB / 469.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003689/0.1179, allocations: 322.7 kB / 470.1 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.889e-05/0.118, allocations: 72 kB / 470.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003553/0.1184, allocations: 223.8 kB / 470.4 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.1185, allocations: 139.5 kB / 470.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.1187, allocations: 310.6 kB / 470.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009543/0.1197, allocations: 0.9151 MB / 471.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.1197, allocations: 0 / 471.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.1197, allocations: 0 / 471.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.1197, allocations: 0 / 471.7 MB, free: 12.13 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.002033/0.1218, allocations: 0.9955 MB / 472.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1218, allocations: 8.031 kB / 472.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/0.1237, allocations: 300 kB / 473 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.1242, allocations: 369.4 kB / 473.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.099e-05/0.1243, allocations: 54.38 kB / 473.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.383e-05/0.1244, allocations: 68.31 kB / 473.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.1255, allocations: 0.7008 MB / 474.2 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/0.1255, allocations: 0 / 474.2 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.226e-05/0.1256, allocations: 28 kB / 474.3 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.1256, allocations: 16 kB / 474.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.1266, allocations: 0.5868 MB / 474.9 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003542/0.1302, allocations: 2.735 MB / 477.6 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.1314, allocations: 0.9073 MB / 478.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002314/0.1317, allocations: 129.7 kB / 478.6 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.639e-05/0.1318, allocations: 85.11 kB / 478.7 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.1318, allocations: 42.44 kB / 478.7 MB, free: 4.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.493e-06/0.1318, allocations: 0 / 478.7 MB, free: 4.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0007334/0.1326, allocations: 335.1 kB / 479.1 MB, free: 4.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.1326, allocations: 85.05 kB / 479.2 MB, free: 4.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.1329, allocations: 290.5 kB / 479.4 MB, free: 3.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.133, allocations: 29.7 kB / 479.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.1332, allocations: 315.2 kB / 479.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.679e-05/0.1333, allocations: 102.6 kB / 479.9 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.1334, allocations: 90.28 kB / 480 MB, free: 3.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1336, allocations: 342.8 kB / 480.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.1339, allocations: 146.9 kB / 480.4 MB, free: 2.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/0.1342, allocations: 257.9 kB / 480.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005624/0.1348, allocations: 400.1 kB / 481.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1348, allocations: 4 kB / 481.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007387/0.1355, allocations: 461 kB / 481.5 MB, free: 1.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1356, allocations: 11.94 kB / 481.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.1356, allocations: 4 kB / 481.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.1356, allocations: 8 kB / 481.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004599/0.1361, allocations: 119.8 kB / 481.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.1361, allocations: 11.98 kB / 481.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.1363, allocations: 51.44 kB / 481.7 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.968e-05/0.1364, allocations: 28.05 kB / 481.8 MB, free: 1.453 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.0002412/0.1366, allocations: 193 kB / 482 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.403e-05/0.1367, allocations: 31.64 kB / 482 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005957/0.1373, allocations: 305 kB / 482.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.1373, allocations: 4 kB / 482.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1374, allocations: 0 / 482.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1374, allocations: 0 / 482.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.1387, allocations: 0.8652 MB / 483.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1387, allocations: 0 / 483.2 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003373/0.139, allocations: 83.83 kB / 483.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1391, allocations: 4 kB / 483.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.1391, allocations: 8 kB / 483.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.1391, allocations: 0 / 483.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1391, allocations: 3.984 kB / 483.3 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007735/0.1399, allocations: 0.5457 MB / 483.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-05/0.14, allocations: 112.7 kB / 483.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.14, allocations: 11.94 kB / 483.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.1402, allocations: 11.98 kB / 483.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.993e-05/0.1403, allocations: 19.92 kB / 484 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.1404, allocations: 8 kB / 484 MB, free: 15.16 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001955/0.1406, allocations: 206 kB / 484.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1406, allocations: 0 / 484.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004969/0.1411, allocations: 139.4 kB / 484.3 MB, free: 14.82 MB / 366.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.0002088/0.1413, allocations: 143.1 kB / 484.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000581/0.1419, allocations: 308.3 kB / 484.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1419, allocations: 320 / 484.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.1421, allocations: 123.8 kB / 484.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.1425, allocations: 31.31 kB / 484.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.1438, allocations: 0.8347 MB / 485.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003878/0.1442, allocations: 0.8185 MB / 486.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.84e-05/0.1443, allocations: 35.44 kB / 486.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1443, allocations: 0 / 486.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of Templates: time 0.007533/0.1519, allocations: 5.11 MB / 491.7 MB, free: 7.352 MB / 366.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)