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.005553/0.005554, allocations: 99.73 kB / 15.73 MB, free: 5.594 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.001244, allocations: 197.2 kB / 16.67 MB, free: 5.527 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0311/0.0311, allocations: 5.399 MB / 295.9 MB, free: 9.453 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 57.44 kB / 408.8 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08214/0.08332, allocations: 50.63 MB / 459.4 MB, free: 7.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.005225/0.08859, allocations: 4.351 MB / 463.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002647/0.09127, allocations: 1.603 MB / 465.4 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000289/0.09158, allocations: 12 kB / 465.4 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002042/0.09366, allocations: 0.9013 MB / 466.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001249/0.09492, allocations: 0.6217 MB / 466.9 MB, free: 340 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004092/0.09534, allocations: 223.5 kB / 467.1 MB, free: 116 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005079/0.09586, allocations: 0.5764 MB / 467.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008784/0.09674, allocations: 0.686 MB / 468.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.09702, allocations: 251.1 kB / 468.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003473/0.09738, allocations: 322.7 kB / 468.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.747e-05/0.09747, allocations: 72 kB / 469 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000399/0.09787, allocations: 219.8 kB / 469.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.923e-05/0.09798, allocations: 147.5 kB / 469.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00024/0.09823, allocations: 302.6 kB / 469.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000997/0.09923, allocations: 0.9151 MB / 470.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.09925, allocations: 4 kB / 470.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09926, allocations: 0 / 470.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.572e-05/0.09928, allocations: 0 / 470.6 MB, free: 12.63 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.00197/0.1013, allocations: 0.9799 MB / 471.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1013, allocations: 8.031 kB / 471.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.1014, allocations: 122.7 kB / 471.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001935/0.1034, allocations: 300 kB / 472 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004869/0.1039, allocations: 368.4 kB / 472.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.1039, allocations: 54.31 kB / 472.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-05/0.104, allocations: 68.38 kB / 472.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.1051, allocations: 0.7006 MB / 473.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.1051, allocations: 0 / 473.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.65e-05/0.1052, allocations: 32 kB / 473.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.1052, allocations: 16 kB / 473.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001026/0.1063, allocations: 0.579 MB / 473.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003321/0.1096, allocations: 2.735 MB / 476.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.1108, allocations: 0.9153 MB / 477.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.111, allocations: 136.3 kB / 477.6 MB, free: 5.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.719e-05/0.1111, allocations: 81.11 kB / 477.6 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.1111, allocations: 50.44 kB / 477.7 MB, free: 5.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.734e-06/0.1111, allocations: 0 / 477.7 MB, free: 5.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.000708/0.1119, allocations: 339 kB / 478 MB, free: 4.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.1119, allocations: 77.11 kB / 478.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002738/0.1122, allocations: 294.5 kB / 478.4 MB, free: 4.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.1122, allocations: 33.83 kB / 478.4 MB, free: 4.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.1124, allocations: 315.1 kB / 478.7 MB, free: 3.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.789e-05/0.1125, allocations: 94.66 kB / 478.8 MB, free: 3.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.1126, allocations: 98.08 kB / 478.9 MB, free: 3.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1127, allocations: 334.8 kB / 479.2 MB, free: 3.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.113, allocations: 146.9 kB / 479.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/0.1133, allocations: 261.8 kB / 479.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005646/0.1139, allocations: 400.1 kB / 480 MB, free: 2.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1139, allocations: 4 kB / 480 MB, free: 2.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007339/0.1146, allocations: 464.6 kB / 480.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1147, allocations: 8 kB / 480.5 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.1147, allocations: 4 kB / 480.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1147, allocations: 4 kB / 480.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004639/0.1152, allocations: 128.3 kB / 480.6 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.1152, allocations: 11.98 kB / 480.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.1155, allocations: 47.44 kB / 480.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.1155, allocations: 20 kB / 480.7 MB, free: 1.84 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.0002425/0.1157, allocations: 193.6 kB / 480.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.985e-05/0.1158, allocations: 31.66 kB / 480.9 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005674/0.1164, allocations: 295.4 kB / 481.2 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1164, allocations: 4 kB / 481.2 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.882e-06/0.1164, allocations: 3.984 kB / 481.2 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1164, allocations: 7.984 kB / 481.2 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001228/0.1177, allocations: 0.8691 MB / 482.1 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1177, allocations: 0 / 482.1 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003507/0.118, allocations: 75.88 kB / 482.2 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.118, allocations: 4 kB / 482.2 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.1181, allocations: 4 kB / 482.2 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1181, allocations: 8 kB / 482.2 MB, free: 288 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.1181, allocations: 7.938 kB / 482.2 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000742/0.1188, allocations: 0.5418 MB / 482.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.921e-05/0.1189, allocations: 112.7 kB / 482.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.119, allocations: 4 kB / 482.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.1192, allocations: 20.05 kB / 482.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.434e-05/0.1192, allocations: 19.92 kB / 482.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.1193, allocations: 4 kB / 482.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000186/0.1194, allocations: 206 kB / 483.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1195, allocations: 0 / 483.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004777/0.1199, allocations: 135.4 kB / 483.2 MB, free: 15.21 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.00109/0.121, allocations: 1.117 MB / 484.4 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005674/0.1216, allocations: 316.5 kB / 484.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1216, allocations: 4.062 kB / 484.7 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.1219, allocations: 123.8 kB / 484.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.1223, allocations: 35.08 kB / 484.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004051/0.1263, allocations: 3.477 MB / 488.3 MB, free: 9.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.1267, allocations: 0.8185 MB / 489.1 MB, free: 9.078 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001581/0.1269, allocations: 46.95 kB / 489.2 MB, free: 9.035 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.1271, allocations: 163.4 kB / 489.3 MB, free: 8.875 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1271, allocations: 0 / 489.3 MB, free: 8.875 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/0.1509, allocations: 7.253 MB / 496.6 MB, free: 1.762 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.387/8.538, allocations: 15.28 kB / 496.6 MB, free: 1.75 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)