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.005393/0.005393, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001384/0.001384, allocations: 189.8 kB / 16.67 MB, free: 5.934 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.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.05179/0.05179, allocations: 5.395 MB / 295.9 MB, free: 9.426 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 69.14 kB / 408.8 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09256/0.09465, allocations: 50.62 MB / 459.4 MB, free: 7.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.00633/0.101, allocations: 4.351 MB / 463.8 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003095/0.1041, allocations: 1.596 MB / 465.4 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005027/0.1047, allocations: 12 kB / 465.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002451/0.1072, allocations: 0.9052 MB / 466.3 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001645/0.1088, allocations: 0.614 MB / 466.9 MB, free: 332 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006277/0.1095, allocations: 235.4 kB / 467.1 MB, free: 96 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009395/0.1104, allocations: 0.5726 MB / 467.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.1118, allocations: 0.6852 MB / 468.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004575/0.1122, allocations: 247.1 kB / 468.6 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005652/0.1128, allocations: 330.7 kB / 468.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.1129, allocations: 72 kB / 469 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005259/0.1135, allocations: 215.9 kB / 469.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.1136, allocations: 139.5 kB / 469.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003/0.1139, allocations: 318.5 kB / 469.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.1151, allocations: 0.9107 MB / 470.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1151, allocations: 0 / 470.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1151, allocations: 0 / 470.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.1151, allocations: 0 / 470.6 MB, free: 12.61 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.002236/0.1174, allocations: 1.002 MB / 471.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.1174, allocations: 8.031 kB / 471.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001388/0.1176, allocations: 114.6 kB / 471.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/0.1195, allocations: 316.3 kB / 472 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005816/0.1201, allocations: 361.5 kB / 472.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.752e-05/0.1202, allocations: 54.38 kB / 472.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.1203, allocations: 64.38 kB / 472.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.1216, allocations: 0.7006 MB / 473.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.354e-05/0.1216, allocations: 0 / 473.2 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.363e-05/0.1217, allocations: 32 kB / 473.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.1217, allocations: 19.94 kB / 473.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.1229, allocations: 0.5752 MB / 473.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004067/0.127, allocations: 2.752 MB / 476.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.1285, allocations: 0.9075 MB / 477.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.1287, allocations: 125.7 kB / 477.6 MB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001005/0.1288, allocations: 85.09 kB / 477.7 MB, free: 5.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.1289, allocations: 46.5 kB / 477.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.314e-06/0.1289, allocations: 0 / 477.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0007915/0.1297, allocations: 331.2 kB / 478 MB, free: 4.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.1298, allocations: 81.11 kB / 478.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003446/0.1301, allocations: 298.5 kB / 478.4 MB, free: 4.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.1302, allocations: 33.64 kB / 478.4 MB, free: 4.238 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002273/0.1304, allocations: 328.3 kB / 478.8 MB, free: 3.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.1305, allocations: 103.1 kB / 478.9 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.1306, allocations: 94.19 kB / 479 MB, free: 3.711 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1308, allocations: 334.8 kB / 479.3 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.1311, allocations: 146.9 kB / 479.4 MB, free: 3.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003835/0.1315, allocations: 265.8 kB / 479.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000638/0.1321, allocations: 400.1 kB / 480.1 MB, free: 2.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1322, allocations: 0 / 480.1 MB, free: 2.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008224/0.133, allocations: 464.9 kB / 480.5 MB, free: 2.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.133, allocations: 4 kB / 480.5 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.133, allocations: 7.984 kB / 480.5 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.133, allocations: 8 kB / 480.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004848/0.1335, allocations: 119.9 kB / 480.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.433e-05/0.1336, allocations: 8.219 kB / 480.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.1339, allocations: 63.61 kB / 480.7 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.1339, allocations: 20 kB / 480.8 MB, free: 1.777 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.0002787/0.1342, allocations: 193.1 kB / 480.9 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.245e-05/0.1343, allocations: 31.75 kB / 481 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006268/0.1349, allocations: 299.5 kB / 481.3 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.1349, allocations: 4 kB / 481.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1349, allocations: 0 / 481.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1349, allocations: 3.984 kB / 481.3 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.1363, allocations: 0.8846 MB / 482.2 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1363, allocations: 4 kB / 482.2 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/0.1367, allocations: 67.94 kB / 482.2 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1367, allocations: 0 / 482.2 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.1367, allocations: 8 kB / 482.2 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1367, allocations: 0 / 482.2 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.076e-06/0.1367, allocations: 11.88 kB / 482.3 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008304/0.1376, allocations: 0.542 MB / 482.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-05/0.1377, allocations: 108.9 kB / 482.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.1377, allocations: 8 kB / 482.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.1379, allocations: 8 kB / 482.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.138, allocations: 31.97 kB / 482.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.138, allocations: 4 kB / 483 MB, free: 15.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002228/0.1383, allocations: 213.9 kB / 483.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1383, allocations: 0 / 483.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000496/0.1388, allocations: 139.6 kB / 483.3 MB, free: 15.13 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.001209/0.14, allocations: 1.114 MB / 484.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006001/0.1406, allocations: 308.5 kB / 484.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.1406, allocations: 0 / 484.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002258/0.1409, allocations: 131.9 kB / 484.8 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.1413, allocations: 39.23 kB / 484.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004529/0.1458, allocations: 3.495 MB / 488.4 MB, free: 9.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.1463, allocations: 0.8263 MB / 489.2 MB, free: 8.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001672/0.1465, allocations: 50.94 kB / 489.3 MB, free: 8.934 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.1467, allocations: 163.4 kB / 489.4 MB, free: 8.773 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1467, allocations: 0 / 489.4 MB, free: 8.773 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03142/0.1782, allocations: 7.237 MB / 496.6 MB, free: 1.676 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.683/8.861, allocations: 15.78 kB / 496.7 MB, free: 1.66 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)