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: "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005774/0.005774, allocations: 100.3 kB / 15.73 MB, free: 6.051 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.001245/0.001245, allocations: 193.1 kB / 16.67 MB, free: 5.977 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1603/0.1603, allocations: 5.393 MB / 295.9 MB, free: 2.777 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 59.89 kB / 408.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2304, allocations: 50.6 MB / 459.4 MB, free: 19.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.004379/0.2349, allocations: 4.367 MB / 463.8 MB, free: 16.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.2371, allocations: 1.597 MB / 465.3 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000366/0.2375, allocations: 13.94 kB / 465.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.2396, allocations: 0.903 MB / 466.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.2409, allocations: 0.6224 MB / 466.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004495/0.2413, allocations: 222.1 kB / 467.1 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005394/0.2419, allocations: 0.5728 MB / 467.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009327/0.2428, allocations: 0.6923 MB / 468.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002965/0.2431, allocations: 256.5 kB / 468.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003639/0.2435, allocations: 313.5 kB / 468.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.012e-05/0.2436, allocations: 70.03 kB / 469 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004724/0.2441, allocations: 224.2 kB / 469.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.616e-05/0.2442, allocations: 141.2 kB / 469.3 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.2444, allocations: 309.5 kB / 469.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.2455, allocations: 0.9071 MB / 470.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2455, allocations: 5.281 kB / 470.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2455, allocations: 0 / 470.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.2455, allocations: 4.797 kB / 470.6 MB, free: 12.25 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.002089/0.2476, allocations: 0.9931 MB / 471.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2476, allocations: 9.625 kB / 471.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001194/0.2478, allocations: 108.7 kB / 471.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/0.2498, allocations: 310.4 kB / 472 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005445/0.2503, allocations: 370 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.2504, allocations: 49.41 kB / 472.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.852e-05/0.2505, allocations: 64.19 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.2518, allocations: 0.706 MB / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.2518, allocations: 1.969 kB / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.863e-05/0.2519, allocations: 26.56 kB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.2519, allocations: 15.06 kB / 473.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/0.253, allocations: 0.5808 MB / 473.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003792/0.2568, allocations: 2.731 MB / 476.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001345/0.2582, allocations: 0.903 MB / 477.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.2584, allocations: 123.6 kB / 477.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.81e-05/0.2585, allocations: 99.61 kB / 477.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.2585, allocations: 48.09 kB / 477.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.294e-06/0.2585, allocations: 0 / 477.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0008617/0.2594, allocations: 330.6 kB / 478 MB, free: 7.398 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.2595, allocations: 85.52 kB / 478.1 MB, free: 7.301 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/0.2598, allocations: 289.5 kB / 478.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.2599, allocations: 31.59 kB / 478.4 MB, free: 7.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.26, allocations: 317 kB / 478.7 MB, free: 6.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.505e-05/0.2601, allocations: 99.92 kB / 478.8 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.2602, allocations: 89.77 kB / 478.9 MB, free: 6.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.304e-05/0.2603, allocations: 334.1 kB / 479.2 MB, free: 6.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.2606, allocations: 148.5 kB / 479.4 MB, free: 6.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.2609, allocations: 267.6 kB / 479.6 MB, free: 6.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004882/0.2614, allocations: 397.1 kB / 480 MB, free: 5.824 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2614, allocations: 2.062 kB / 480 MB, free: 5.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007184/0.2621, allocations: 457.6 kB / 480.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.2622, allocations: 7.359 kB / 480.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2622, allocations: 4.719 kB / 480.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.2622, allocations: 6.969 kB / 480.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005088/0.2627, allocations: 127.8 kB / 480.6 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/0.2627, allocations: 8.547 kB / 480.6 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.2631, allocations: 64.19 kB / 480.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-05/0.2631, allocations: 21.17 kB / 480.7 MB, free: 5.562 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.0002796/0.2634, allocations: 188.6 kB / 480.9 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.851e-05/0.2635, allocations: 31.88 kB / 480.9 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006332/0.2641, allocations: 302.1 kB / 481.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.2641, allocations: 2.812 kB / 481.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.2642, allocations: 2.375 kB / 481.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.2642, allocations: 5.203 kB / 481.2 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.2655, allocations: 0.8663 MB / 482.1 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2655, allocations: 1.344 kB / 482.1 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003495/0.2659, allocations: 81.7 kB / 482.2 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.2659, allocations: 1.219 kB / 482.2 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.2659, allocations: 11.41 kB / 482.2 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.2659, allocations: 1.219 kB / 482.2 MB, free: 4.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.2659, allocations: 5.5 kB / 482.2 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007215/0.2666, allocations: 0.5397 MB / 482.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.141e-05/0.2667, allocations: 111.1 kB / 482.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.2668, allocations: 11.14 kB / 482.8 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.267, allocations: 12.28 kB / 482.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.267, allocations: 20.45 kB / 482.9 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.2671, allocations: 9.969 kB / 482.9 MB, free: 4.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002062/0.2673, allocations: 204.2 kB / 483.1 MB, free: 4.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2673, allocations: 0 / 483.1 MB, free: 4.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005607/0.2678, allocations: 138.7 kB / 483.2 MB, free: 4.031 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.0009697/0.2688, allocations: 1.119 MB / 484.3 MB, free: 3.137 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006152/0.2695, allocations: 316 kB / 484.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2695, allocations: 0 / 484.7 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.2697, allocations: 125.7 kB / 484.8 MB, free: 2.988 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.2701, allocations: 36.52 kB / 484.8 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/0.2741, allocations: 3.468 MB / 488.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.2744, allocations: 0.829 MB / 489.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001683/0.2746, allocations: 51.16 kB / 489.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.2748, allocations: 161 kB / 489.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2748, allocations: 0 / 489.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02856/0.3034, allocations: 7.307 MB / 496.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.506/8.81, allocations: 12.28 kB / 496.6 MB, free: 11.71 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter_fmu --startTime=0 --stopTime=180 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter.fmu > PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe 2>&1)