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.001204/0.001204, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001206/0.001206, allocations: 194.3 kB / 16.14 MB, free: 6.664 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.221/1.221, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 2.091/2.091, allocations: 5.397 MB / 295.3 MB, free: 2.934 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 59.91 kB / 356.8 MB, free: 1.957 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08853/0.08976, allocations: 50.62 MB / 407.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.005247/0.09503, allocations: 4.368 MB / 411.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00215/0.0972, allocations: 1.585 MB / 413.4 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001595/0.09737, allocations: 12 kB / 413.4 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.09897, allocations: 0.8328 MB / 414.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009678/0.09995, allocations: 0.5679 MB / 414.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003306/0.1003, allocations: 207.7 kB / 415 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004273/0.1007, allocations: 0.5335 MB / 415.6 MB, free: 7.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000788/0.1015, allocations: 0.6174 MB / 416.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002061/0.1017, allocations: 219.2 kB / 416.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002894/0.102, allocations: 310.8 kB / 416.7 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.44e-05/0.1021, allocations: 44 kB / 416.7 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003037/0.1024, allocations: 199.8 kB / 416.9 MB, free: 5.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.192e-05/0.1025, allocations: 123.5 kB / 417 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002023/0.1027, allocations: 278.7 kB / 417.3 MB, free: 5.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007091/0.1034, allocations: 0.8839 MB / 418.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.1034, allocations: 0 / 418.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.22e-07/0.1035, allocations: 0 / 418.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1035, allocations: 4 kB / 418.2 MB, free: 4.484 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.001832/0.1053, allocations: 0.9838 MB / 419.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.1053, allocations: 8.031 kB / 419.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.1055, allocations: 110.7 kB / 419.3 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.1073, allocations: 312 kB / 419.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/0.1077, allocations: 365.3 kB / 420 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.1077, allocations: 50.38 kB / 420 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.752e-05/0.1078, allocations: 64.38 kB / 420.1 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.1089, allocations: 0.7045 MB / 420.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.1089, allocations: 0 / 420.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.908e-05/0.109, allocations: 28 kB / 420.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.109, allocations: 16 kB / 420.8 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.1101, allocations: 0.579 MB / 421.4 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.141/0.2511, allocations: 2.754 MB / 424.2 MB, free: 45.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.2521, allocations: 0.9013 MB / 425.1 MB, free: 45.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.2523, allocations: 133.2 kB / 425.2 MB, free: 45.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.122e-05/0.2524, allocations: 83.8 kB / 425.3 MB, free: 44.99 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.323e-05/0.2524, allocations: 42.53 kB / 425.3 MB, free: 44.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.974e-06/0.2524, allocations: 0 / 425.3 MB, free: 44.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006332/0.253, allocations: 331.6 kB / 425.6 MB, free: 44.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.2531, allocations: 82.36 kB / 425.7 MB, free: 44.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.2533, allocations: 290 kB / 426 MB, free: 44.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.2533, allocations: 34.73 kB / 426 MB, free: 44.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.157e-05/0.2534, allocations: 316.3 kB / 426.3 MB, free: 44.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.2534, allocations: 98.53 kB / 426.4 MB, free: 44.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.2535, allocations: 91.08 kB / 426.5 MB, free: 44.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.848e-05/0.2536, allocations: 341.9 kB / 426.9 MB, free: 44.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.2538, allocations: 144.7 kB / 427 MB, free: 44.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.2541, allocations: 262.4 kB / 427.3 MB, free: 43.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.2545, allocations: 396.5 kB / 427.6 MB, free: 43.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2545, allocations: 6.594 kB / 427.7 MB, free: 43.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006064/0.2551, allocations: 464.4 kB / 428.1 MB, free: 43.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2551, allocations: 7.906 kB / 428.1 MB, free: 43.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.2552, allocations: 7.156 kB / 428.1 MB, free: 43.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.2552, allocations: 6.312 kB / 428.1 MB, free: 43.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004243/0.2556, allocations: 127.7 kB / 428.3 MB, free: 43.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.2556, allocations: 6.312 kB / 428.3 MB, free: 43.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.2559, allocations: 58.94 kB / 428.3 MB, free: 43.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.2559, allocations: 16.38 kB / 428.3 MB, free: 43.63 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.0002302/0.2561, allocations: 194.9 kB / 428.5 MB, free: 43.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.317e-05/0.2562, allocations: 24.56 kB / 428.5 MB, free: 43.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004982/0.2567, allocations: 305.6 kB / 428.8 MB, free: 43.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.2567, allocations: 2.969 kB / 428.8 MB, free: 43.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2567, allocations: 0 / 428.8 MB, free: 43.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2567, allocations: 0 / 428.8 MB, free: 43.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000983/0.2577, allocations: 0.871 MB / 429.7 MB, free: 42.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2577, allocations: 3.938 kB / 429.7 MB, free: 42.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003089/0.2581, allocations: 76.25 kB / 429.8 MB, free: 42.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2581, allocations: 3.219 kB / 429.8 MB, free: 42.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.2581, allocations: 12.03 kB / 429.8 MB, free: 42.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2581, allocations: 3.281 kB / 429.8 MB, free: 42.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2581, allocations: 3.938 kB / 429.8 MB, free: 42.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005845/0.2587, allocations: 0.5376 MB / 430.4 MB, free: 42.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.2587, allocations: 113.7 kB / 430.5 MB, free: 42.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.2588, allocations: 11.36 kB / 430.5 MB, free: 42.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.259, allocations: 12.09 kB / 430.5 MB, free: 42.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.2591, allocations: 20.23 kB / 430.5 MB, free: 42.31 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.2591, allocations: 6.25 kB / 430.5 MB, free: 42.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001374/0.2592, allocations: 210.1 kB / 430.7 MB, free: 42.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2592, allocations: 0.5625 kB / 430.7 MB, free: 42.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004427/0.2597, allocations: 134.9 kB / 430.9 MB, free: 42.15 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.0007858/0.2605, allocations: 1.128 MB / 432 MB, free: 41.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004525/0.2609, allocations: 309.3 kB / 432.3 MB, free: 41.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2609, allocations: 1.688 kB / 432.3 MB, free: 41.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.2611, allocations: 123.7 kB / 432.4 MB, free: 41.15 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.2615, allocations: 29.69 kB / 432.4 MB, free: 41.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/0.2647, allocations: 3.741 MB / 436.2 MB, free: 38.46 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.2649, allocations: 0.8279 MB / 437 MB, free: 37.76 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001646/0.265, allocations: 43.25 kB / 437 MB, free: 37.75 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.2652, allocations: 167.1 kB / 437.2 MB, free: 37.62 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2652, allocations: 0 / 437.2 MB, free: 37.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8674/1.133, allocations: 6.773 MB / 444 MB, free: 37.04 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000139/1.133, allocations: 235.1 kB / 444.2 MB, free: 36.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.129/3.262, allocations: 0 / 444.2 MB, free: 36.78 MB / 350.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)