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.005263/0.005263, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001207/0.001207, allocations: 196.9 kB / 16.68 MB, free: 5.926 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02555/0.02555, allocations: 5.399 MB / 295.9 MB, free: 9.465 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 63.91 kB / 409.3 MB, free: 26.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09303/0.09419, allocations: 50.62 MB / 459.9 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.006339/0.1006, allocations: 4.363 MB / 464.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003269/0.1039, allocations: 1.604 MB / 465.9 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003818/0.1043, allocations: 16 kB / 465.9 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.1065, allocations: 0.8892 MB / 466.8 MB, free: 472 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.1079, allocations: 0.6219 MB / 467.4 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.1084, allocations: 223.5 kB / 467.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008009/0.1093, allocations: 0.5647 MB / 468.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.1104, allocations: 0.6969 MB / 468.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004139/0.1108, allocations: 247.1 kB / 469.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006113/0.1115, allocations: 330.7 kB / 469.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.1116, allocations: 68 kB / 469.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005478/0.1122, allocations: 215.8 kB / 469.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001447/0.1123, allocations: 143.6 kB / 469.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003827/0.1127, allocations: 306.5 kB / 470.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.1139, allocations: 0.9229 MB / 471.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.1139, allocations: 0 / 471.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1139, allocations: 0 / 471.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.036e-05/0.1139, allocations: 0 / 471.1 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.002516/0.1165, allocations: 0.9838 MB / 472 MB, free: 11.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1165, allocations: 12.03 kB / 472.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/0.1184, allocations: 308 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005642/0.119, allocations: 361.4 kB / 472.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/0.1191, allocations: 58.31 kB / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.1192, allocations: 64.38 kB / 472.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.1204, allocations: 0.7086 MB / 473.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.1204, allocations: 0 / 473.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/0.1205, allocations: 28 kB / 473.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.966e-05/0.1205, allocations: 16 kB / 473.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.1216, allocations: 0.5819 MB / 474.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003921/0.1256, allocations: 2.743 MB / 476.9 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.1269, allocations: 0.9065 MB / 477.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.1272, allocations: 132.7 kB / 477.9 MB, free: 4.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.363e-05/0.1273, allocations: 85.09 kB / 478 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.1273, allocations: 42.5 kB / 478.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.925e-06/0.1274, allocations: 0 / 478.1 MB, free: 4.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.000772/0.1281, allocations: 335.1 kB / 478.4 MB, free: 4.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.1282, allocations: 81.23 kB / 478.5 MB, free: 4.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003376/0.1285, allocations: 290.5 kB / 478.8 MB, free: 3.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.1286, allocations: 33.69 kB / 478.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.1288, allocations: 315.2 kB / 479.1 MB, free: 3.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.922e-05/0.1289, allocations: 94.64 kB / 479.2 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.129, allocations: 98.08 kB / 479.3 MB, free: 3.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.1291, allocations: 334.8 kB / 479.6 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.1294, allocations: 150.9 kB / 479.8 MB, free: 2.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.1297, allocations: 265.8 kB / 480 MB, free: 2.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000564/0.1303, allocations: 396.1 kB / 480.4 MB, free: 2.152 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.1303, allocations: 4 kB / 480.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007754/0.1311, allocations: 452.6 kB / 480.9 MB, free: 1.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.1311, allocations: 7.938 kB / 480.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.1312, allocations: 8.562 kB / 480.9 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.1312, allocations: 11.94 kB / 480.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/0.1317, allocations: 123.8 kB / 481 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.1317, allocations: 11.94 kB / 481 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.132, allocations: 55.42 kB / 481.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.132, allocations: 20 kB / 481.1 MB, free: 1.465 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.0002737/0.1323, allocations: 193.7 kB / 481.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.732e-05/0.1324, allocations: 35.64 kB / 481.3 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005962/0.133, allocations: 297.1 kB / 481.6 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.133, allocations: 4 kB / 481.6 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.133, allocations: 0 / 481.6 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.1331, allocations: 11.98 kB / 481.6 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.1344, allocations: 0.8652 MB / 482.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1344, allocations: 3.938 kB / 482.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.1348, allocations: 67.89 kB / 482.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.1348, allocations: 11.94 kB / 482.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.1348, allocations: 4 kB / 482.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.1348, allocations: 4 kB / 482.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1348, allocations: 0 / 482.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007533/0.1356, allocations: 0.5496 MB / 483.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.851e-05/0.1357, allocations: 108.8 kB / 483.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/0.1357, allocations: 7.938 kB / 483.2 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.1359, allocations: 12 kB / 483.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.136, allocations: 23.91 kB / 483.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.136, allocations: 4 kB / 483.3 MB, free: 15.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001969/0.1362, allocations: 210 kB / 483.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1362, allocations: 0 / 483.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005104/0.1367, allocations: 135.4 kB / 483.6 MB, free: 14.83 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.0001876/0.1369, allocations: 135.1 kB / 483.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005971/0.1375, allocations: 319.4 kB / 484.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1376, allocations: 0 / 484.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.1378, allocations: 117 kB / 484.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.1382, allocations: 28.55 kB / 484.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.1394, allocations: 0.8097 MB / 485 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.1398, allocations: 0.8224 MB / 485.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001516/0.1399, allocations: 46.94 kB / 485.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.466e-05/0.14, allocations: 31.44 kB / 485.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.14, allocations: 3.938 kB / 485.9 MB, free: 12.47 MB / 366.1 MB Notification: Performance of Templates: time 0.007572/0.1476, allocations: 3.57 MB / 489.5 MB, free: 8.898 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)