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.001125/0.001125, allocations: 110.9 kB / 16.41 MB, free: 6.496 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.001081/0.001081, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03657/0.03657, allocations: 5.398 MB / 296.6 MB, free: 9.477 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.91 kB / 409.9 MB, free: 26.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1056, allocations: 50.63 MB / 460.6 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.006494/0.1121, allocations: 4.359 MB / 464.9 MB, free: 3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003276/0.1154, allocations: 1.6 MB / 466.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006721/0.1161, allocations: 15.94 kB / 466.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002412/0.1186, allocations: 0.8945 MB / 467.4 MB, free: 488 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001714/0.1203, allocations: 0.621 MB / 468.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006176/0.121, allocations: 227.5 kB / 468.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009339/0.1219, allocations: 0.5725 MB / 468.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001244/0.1232, allocations: 0.6891 MB / 469.5 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004301/0.1236, allocations: 247.1 kB / 469.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005567/0.1242, allocations: 326.7 kB / 470.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001547/0.1244, allocations: 76 kB / 470.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005791/0.1249, allocations: 219.9 kB / 470.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.1251, allocations: 139.5 kB / 470.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003529/0.1254, allocations: 310.5 kB / 470.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.1267, allocations: 0.9072 MB / 471.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1267, allocations: 0 / 471.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1267, allocations: 0 / 471.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.038e-05/0.1268, allocations: 0 / 471.7 MB, free: 12.16 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.002626/0.1294, allocations: 0.9955 MB / 472.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1294, allocations: 8.031 kB / 472.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002066/0.1315, allocations: 300 kB / 473 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006425/0.1322, allocations: 368.1 kB / 473.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.706e-05/0.1322, allocations: 54.38 kB / 473.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.1324, allocations: 68.31 kB / 473.5 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.1337, allocations: 0.7008 MB / 474.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.1338, allocations: 0 / 474.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.296e-05/0.1338, allocations: 28 kB / 474.2 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.1339, allocations: 16 kB / 474.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.135, allocations: 0.5829 MB / 474.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004196/0.1392, allocations: 2.739 MB / 477.6 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.1407, allocations: 0.9075 MB / 478.5 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/0.141, allocations: 129.7 kB / 478.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.731e-05/0.1411, allocations: 85.11 kB / 478.7 MB, free: 4.746 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.1411, allocations: 46.38 kB / 478.7 MB, free: 4.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.204e-06/0.1411, allocations: 0 / 478.7 MB, free: 4.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0008195/0.142, allocations: 339.1 kB / 479.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/0.142, allocations: 85.09 kB / 479.2 MB, free: 4.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.1424, allocations: 286.5 kB / 479.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.1424, allocations: 33.7 kB / 479.5 MB, free: 3.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.1427, allocations: 315.1 kB / 479.8 MB, free: 3.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.191e-05/0.1427, allocations: 102.6 kB / 479.9 MB, free: 3.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.1429, allocations: 90.28 kB / 480 MB, free: 3.414 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.143, allocations: 342.8 kB / 480.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/0.1433, allocations: 146.9 kB / 480.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003327/0.1437, allocations: 261.8 kB / 480.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006153/0.1443, allocations: 404.1 kB / 481.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.1443, allocations: 0 / 481.1 MB, free: 2.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008169/0.1451, allocations: 457 kB / 481.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.1452, allocations: 11.94 kB / 481.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.1452, allocations: 4 kB / 481.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.1452, allocations: 8 kB / 481.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000493/0.1457, allocations: 123.8 kB / 481.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.748e-05/0.1457, allocations: 8 kB / 481.7 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.1461, allocations: 55.5 kB / 481.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.7e-05/0.1461, allocations: 27.98 kB / 481.8 MB, free: 1.473 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.0003171/0.1464, allocations: 189.7 kB / 482 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.327e-05/0.1465, allocations: 27.66 kB / 482 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006301/0.1472, allocations: 309 kB / 482.3 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.1472, allocations: 4 kB / 482.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1472, allocations: 0 / 482.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1472, allocations: 0 / 482.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.1486, allocations: 0.8613 MB / 483.2 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1486, allocations: 0 / 483.2 MB, free: 20 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003751/0.149, allocations: 87.88 kB / 483.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.149, allocations: 0 / 483.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.1491, allocations: 11.98 kB / 483.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.1491, allocations: 0 / 483.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1491, allocations: 0 / 483.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008148/0.1499, allocations: 0.5457 MB / 483.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.95e-05/0.15, allocations: 108.8 kB / 483.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.147e-05/0.1501, allocations: 11.94 kB / 483.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.1503, allocations: 11.98 kB / 483.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/0.1504, allocations: 23.91 kB / 484 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.1504, allocations: 8 kB / 484 MB, free: 15.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002112/0.1506, allocations: 206 kB / 484.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1506, allocations: 7.938 kB / 484.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005722/0.1512, allocations: 131.4 kB / 484.3 MB, free: 14.84 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.0002392/0.1514, allocations: 143.1 kB / 484.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006407/0.1521, allocations: 312.2 kB / 484.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.1521, allocations: 320 / 484.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.1523, allocations: 119.9 kB / 484.9 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.0004592/0.1528, allocations: 31.66 kB / 484.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.1543, allocations: 0.8425 MB / 485.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.1547, allocations: 0.8185 MB / 486.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.1548, allocations: 35.44 kB / 486.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1548, allocations: 0 / 486.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of Templates: time 0.008674/0.1635, allocations: 5.032 MB / 491.6 MB, free: 7.445 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)