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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 180.9 kB / 15.45 MB, free: 0.6523 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.481/1.481, allocations: 223.3 MB / 239.5 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000772/0.000772, allocations: 90.42 kB / 290.6 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02332/0.02332, allocations: 5.4 MB / 347.2 MB, free: 7.867 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003172, allocations: 5.391 kB / 409.6 MB, free: 47.64 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09468/0.09502, allocations: 51.61 MB / 461.2 MB, free: 5.137 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.003489/0.09855, allocations: 3.937 MB / 465.1 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002313/0.1009, allocations: 1.558 MB / 466.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.1011, allocations: 12 kB / 466.7 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005205/0.1017, allocations: 191.2 kB / 466.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.103, allocations: 0.5641 MB / 467.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.1034, allocations: 207.6 kB / 467.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005377/0.104, allocations: 0.5336 MB / 468.2 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.1058, allocations: 1.165 MB / 469.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002505/0.106, allocations: 187.2 kB / 469.5 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000311/0.1064, allocations: 266.7 kB / 469.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.1064, allocations: 28 kB / 469.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004063/0.1068, allocations: 171.9 kB / 470 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.238e-05/0.1069, allocations: 99.53 kB / 470.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.1072, allocations: 272.3 kB / 470.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008563/0.108, allocations: 0.8447 MB / 471.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.108, allocations: 0 / 471.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1081, allocations: 0 / 471.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.947e-06/0.1081, allocations: 0 / 471.2 MB, free: 11.04 MB / 302.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.001937/0.11, allocations: 0.8784 MB / 472.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.1101, allocations: 8.031 kB / 472.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.1102, allocations: 122.6 kB / 472.2 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/0.1121, allocations: 319.9 kB / 472.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.1125, allocations: 365.4 kB / 472.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/0.1126, allocations: 50.38 kB / 472.9 MB, free: 9.223 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.033e-05/0.1127, allocations: 60.38 kB / 473 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.1138, allocations: 0.7084 MB / 473.7 MB, free: 8.434 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.1138, allocations: 4 kB / 473.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-05/0.1139, allocations: 31.94 kB / 473.7 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.1139, allocations: 16 kB / 473.8 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009953/0.1149, allocations: 0.5869 MB / 474.3 MB, free: 7.797 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003455/0.1184, allocations: 2.771 MB / 477.1 MB, free: 4.844 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.1196, allocations: 0.9221 MB / 478 MB, free: 3.777 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.1199, allocations: 137.7 kB / 478.2 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.286e-05/0.12, allocations: 85.11 kB / 478.3 MB, free: 3.535 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.12, allocations: 34.5 kB / 478.3 MB, free: 3.492 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 1.734e-06/0.12, allocations: 0 / 478.3 MB, free: 3.492 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.0007277/0.1207, allocations: 359 kB / 478.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.1208, allocations: 77.11 kB / 478.7 MB, free: 3.043 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.1211, allocations: 294.6 kB / 479 MB, free: 2.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.1211, allocations: 29.7 kB / 479 MB, free: 2.715 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.1213, allocations: 319.1 kB / 479.3 MB, free: 2.398 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.072e-05/0.1213, allocations: 94.66 kB / 479.4 MB, free: 2.305 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.1214, allocations: 41.69 kB / 479.5 MB, free: 2.258 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1215, allocations: 338.8 kB / 479.8 MB, free: 1.918 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.1218, allocations: 153.8 kB / 480 MB, free: 1.762 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/0.1221, allocations: 269.9 kB / 480.2 MB, free: 1.445 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005526/0.1226, allocations: 408.4 kB / 480.6 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1227, allocations: 0 / 480.6 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007414/0.1234, allocations: 476.5 kB / 481.1 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1234, allocations: 8 kB / 481.1 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.944e-06/0.1234, allocations: 4 kB / 481.1 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1235, allocations: 4 kB / 481.1 MB, free: 0.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/0.1239, allocations: 132.1 kB / 481.2 MB, free: 380 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/0.124, allocations: 15.92 kB / 481.2 MB, free: 364 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.1243, allocations: 59.38 kB / 481.3 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.1243, allocations: 20 kB / 481.3 MB, free: 284 kB / 302.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.0002699/0.1246, allocations: 189.7 kB / 481.5 MB, free: 84 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-05/0.1246, allocations: 31.56 kB / 481.5 MB, free: 52 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006054/0.1253, allocations: 315.5 kB / 481.8 MB, free: 15.74 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.1253, allocations: 7.984 kB / 481.9 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1253, allocations: 3.938 kB / 481.9 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1253, allocations: 0 / 481.9 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.1265, allocations: 0.8921 MB / 482.7 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1266, allocations: 3.984 kB / 482.8 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/0.1269, allocations: 83.94 kB / 482.8 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1269, allocations: 0 / 482.8 MB, free: 14.69 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.127, allocations: 8 kB / 482.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.127, allocations: 0 / 482.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.127, allocations: 7.875 kB / 482.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007466/0.1277, allocations: 0.5531 MB / 483.4 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.04e-05/0.1278, allocations: 112.7 kB / 483.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.1279, allocations: 12.06 kB / 483.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.1281, allocations: 15.98 kB / 483.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.1281, allocations: 19.91 kB / 483.6 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.1282, allocations: 8 kB / 483.6 MB, free: 13.92 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001916/0.1284, allocations: 206 kB / 483.8 MB, free: 13.72 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1284, allocations: 0 / 483.8 MB, free: 13.72 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004935/0.1289, allocations: 139.4 kB / 483.9 MB, free: 13.58 MB / 318.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.001035/0.1299, allocations: 1.134 MB / 485 MB, free: 12.42 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005697/0.1305, allocations: 317 kB / 485.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1305, allocations: 4.062 kB / 485.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002113/0.1307, allocations: 123.8 kB / 485.5 MB, free: 11.99 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.1312, allocations: 32.5 kB / 485.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.1354, allocations: 3.807 MB / 489.3 MB, free: 7.945 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.1358, allocations: 0.8264 MB / 490.1 MB, free: 7.094 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001885/0.1359, allocations: 46.95 kB / 490.2 MB, free: 7.047 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.1362, allocations: 163.4 kB / 490.3 MB, free: 6.891 MB / 318.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1362, allocations: 0 / 490.3 MB, free: 6.891 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.1522, allocations: 6.662 MB / 497 MB, free: 416 kB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001673/0.1524, allocations: 226.5 kB / 497.2 MB, free: 152 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/1.952, allocations: 2.812 kB / 497.2 MB, free: 152 kB / 318.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/linux/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)