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.0009561/0.0009565, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007348/0.007348, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.314/1.314, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1463/0.1463, allocations: 5.386 MB / 296.8 MB, free: 3.902 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.000306, allocations: 8 kB / 359.3 MB, free: 1.145 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1031, allocations: 51.6 MB / 410.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.004451/0.1076, allocations: 3.94 MB / 414.8 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002577/0.1102, allocations: 1.546 MB / 416.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.1104, allocations: 12 kB / 416.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005138/0.111, allocations: 199.2 kB / 416.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.1122, allocations: 0.5743 MB / 417.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.1126, allocations: 195.7 kB / 417.3 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005095/0.1131, allocations: 0.5335 MB / 417.9 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/0.1149, allocations: 1.171 MB / 419 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.1152, allocations: 191.2 kB / 419.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.1155, allocations: 262.7 kB / 419.5 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.853e-05/0.1156, allocations: 28 kB / 419.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/0.116, allocations: 179.8 kB / 419.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.177e-05/0.116, allocations: 87.62 kB / 419.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002301/0.1163, allocations: 280.2 kB / 420 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007582/0.117, allocations: 0.8408 MB / 420.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.117, allocations: 0 / 420.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1171, allocations: 0 / 420.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.1171, allocations: 0 / 420.9 MB, free: 3.406 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.001881/0.119, allocations: 0.8901 MB / 421.8 MB, free: 2.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.119, allocations: 8.031 kB / 421.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/0.1191, allocations: 114.7 kB / 421.9 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001943/0.1211, allocations: 304 kB / 422.2 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.1215, allocations: 360.1 kB / 422.5 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.247e-05/0.1215, allocations: 54.38 kB / 422.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.861e-05/0.1216, allocations: 64.38 kB / 422.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.1228, allocations: 0.7084 MB / 423.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.1228, allocations: 3.906 kB / 423.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.825e-05/0.1229, allocations: 31.98 kB / 423.4 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.1229, allocations: 16 kB / 423.4 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001023/0.1239, allocations: 0.5946 MB / 424 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1755/0.2994, allocations: 2.751 MB / 426.8 MB, free: 43.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.3006, allocations: 0.9155 MB / 427.7 MB, free: 42.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.3008, allocations: 140.1 kB / 427.8 MB, free: 42.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.726e-05/0.3008, allocations: 90.33 kB / 427.9 MB, free: 42.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.3009, allocations: 37.81 kB / 427.9 MB, free: 42.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.854e-06/0.3009, allocations: 0 / 427.9 MB, free: 42.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0006884/0.3016, allocations: 352.7 kB / 428.3 MB, free: 42.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.3016, allocations: 91.55 kB / 428.4 MB, free: 42.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.3019, allocations: 286.4 kB / 428.6 MB, free: 42.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3019, allocations: 29.14 kB / 428.7 MB, free: 42.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.302, allocations: 318.5 kB / 429 MB, free: 41.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.053e-05/0.3021, allocations: 105.2 kB / 429.1 MB, free: 41.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.3021, allocations: 39.08 kB / 429.1 MB, free: 41.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.078e-05/0.3022, allocations: 340.7 kB / 429.5 MB, free: 41.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.3025, allocations: 153 kB / 429.6 MB, free: 41.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.3027, allocations: 266 kB / 429.9 MB, free: 41.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005259/0.3033, allocations: 404.8 kB / 430.3 MB, free: 41.12 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3033, allocations: 4 kB / 430.3 MB, free: 41.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000691/0.304, allocations: 470.1 kB / 430.7 MB, free: 41.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.304, allocations: 6.469 kB / 430.7 MB, free: 41.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.304, allocations: 6.672 kB / 430.7 MB, free: 41.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.304, allocations: 6.375 kB / 430.7 MB, free: 41.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/0.3045, allocations: 140.4 kB / 430.9 MB, free: 41.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.3045, allocations: 10.19 kB / 430.9 MB, free: 41.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003442/0.3049, allocations: 66.62 kB / 431 MB, free: 40.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.628e-05/0.3049, allocations: 19.34 kB / 431 MB, free: 40.98 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.0002865/0.3052, allocations: 191.2 kB / 431.2 MB, free: 40.86 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/0.3053, allocations: 23.91 kB / 431.2 MB, free: 40.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005439/0.3058, allocations: 318.9 kB / 431.5 MB, free: 40.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3059, allocations: 6.531 kB / 431.5 MB, free: 40.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3059, allocations: 3.938 kB / 431.5 MB, free: 40.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3059, allocations: 3.422 kB / 431.5 MB, free: 40.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.3071, allocations: 0.8749 MB / 432.4 MB, free: 40.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3071, allocations: 0 / 432.4 MB, free: 40.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/0.3074, allocations: 89.12 kB / 432.5 MB, free: 40.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.3074, allocations: 2.875 kB / 432.5 MB, free: 40.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.3075, allocations: 6.656 kB / 432.5 MB, free: 40.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3075, allocations: 1.031 kB / 432.5 MB, free: 40.45 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3075, allocations: 2.906 kB / 432.5 MB, free: 40.45 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007416/0.3082, allocations: 0.5583 MB / 433 MB, free: 40.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.184e-05/0.3083, allocations: 114.4 kB / 433.2 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.3083, allocations: 4.062 kB / 433.2 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.3086, allocations: 20.47 kB / 433.2 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.3086, allocations: 17.16 kB / 433.2 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.3086, allocations: 10.19 kB / 433.2 MB, free: 40.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001755/0.3088, allocations: 207.6 kB / 433.4 MB, free: 40.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3088, allocations: 0 / 433.4 MB, free: 40.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004749/0.3093, allocations: 139.3 kB / 433.5 MB, free: 39.99 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.000904/0.3102, allocations: 1.14 MB / 434.7 MB, free: 39.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005305/0.3107, allocations: 317.1 kB / 435 MB, free: 39.14 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3108, allocations: 4 kB / 435 MB, free: 39.14 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001907/0.311, allocations: 127.2 kB / 435.1 MB, free: 39.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.3114, allocations: 26.72 kB / 435.1 MB, free: 39.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.3153, allocations: 3.818 MB / 439 MB, free: 36.37 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.3156, allocations: 0.8248 MB / 439.8 MB, free: 35.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000185/0.3158, allocations: 47.17 kB / 439.8 MB, free: 35.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.316, allocations: 159.1 kB / 440 MB, free: 35.53 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.316, allocations: 3.656 kB / 440 MB, free: 35.53 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0292/0.3452, allocations: 6.654 MB / 446.6 MB, free: 35.05 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.3454, allocations: 233.5 kB / 446.9 MB, free: 34.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.853/2.199, allocations: 0 / 446.9 MB, free: 34.79 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)