Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.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.PolyphaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter",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.001646/0.001646, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 193.8 kB / 16.53 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.565/1.565, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.2041/0.2041, allocations: 5.381 MB / 295.8 MB, free: 2.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 63.91 kB / 357.5 MB, free: 1.508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1243, allocations: 50.62 MB / 408.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.01123/0.1355, allocations: 8.126 MB / 416.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005688/0.1413, allocations: 2.55 MB / 418.8 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.1429, allocations: 59.81 kB / 418.9 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007057/0.1501, allocations: 3.022 MB / 421.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00374/0.1538, allocations: 0.8542 MB / 422.7 MB, free: 176 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2673/0.4212, allocations: 0.8085 MB / 423.6 MB, free: 35.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004336/0.4255, allocations: 3.619 MB / 427.2 MB, free: 35.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01214/0.4377, allocations: 10.46 MB / 437.6 MB, free: 32.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003436/0.4412, allocations: 2.145 MB / 439.8 MB, free: 31.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004097/0.4453, allocations: 2.39 MB / 442.2 MB, free: 29.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001975/0.4473, allocations: 0.6604 MB / 442.8 MB, free: 29.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003339/0.4507, allocations: 0.9257 MB / 443.8 MB, free: 29.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001275/0.452, allocations: 1.22 MB / 445 MB, free: 29.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004156/0.4562, allocations: 2.359 MB / 447.3 MB, free: 27.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007839/0.464, allocations: 8.49 MB / 455.8 MB, free: 24.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.4641, allocations: 0 / 455.8 MB, free: 24.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4641, allocations: 0 / 455.8 MB, free: 24.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000233/0.4643, allocations: 3.938 kB / 455.8 MB, free: 24.56 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: 1072 * Number of variables: 1072 Notification: Performance of Generate backend data structure: time 0.01393/0.4782, allocations: 4.779 MB / 460.6 MB, free: 22.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.4783, allocations: 9.094 kB / 460.6 MB, free: 22.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001462/0.4798, allocations: 0.5771 MB / 461.2 MB, free: 21.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009375/0.4892, allocations: 1.542 MB / 462.7 MB, free: 21.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005734/0.4949, allocations: 2.53 MB / 465.3 MB, free: 20.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003582/0.4953, allocations: 302.2 kB / 465.6 MB, free: 19.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001707/0.497, allocations: 393.6 kB / 465.9 MB, free: 19.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01655/0.5136, allocations: 6.359 MB / 472.3 MB, free: 17.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.536e-05/0.5137, allocations: 10.5 kB / 472.3 MB, free: 17.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000493/0.5142, allocations: 162.4 kB / 472.5 MB, free: 17.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003205/0.5146, allocations: 196.8 kB / 472.7 MB, free: 17.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/0.527, allocations: 5.359 MB / 478 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03056/0.5576, allocations: 21.6 MB / 499.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005058/0.5628, allocations: 3.784 MB / 0.4916 GB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001161/0.564, allocations: 0.7145 MB / 0.4923 GB, free: 8.305 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/0.5641, allocations: 101.7 kB / 0.4924 GB, free: 8.188 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.5642, allocations: 47.56 kB / 0.4924 GB, free: 8.133 MB / 366.1 MB Notification: Performance of pre-optimization done (n=86): time 5.03e-06/0.5642, allocations: 0 / 0.4924 GB, free: 8.133 MB / 366.1 MB Notification: Performance of matching and sorting (n=86): time 0.003/0.5672, allocations: 1.615 MB / 0.494 GB, free: 6.516 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/0.5673, allocations: 89.58 kB / 0.4941 GB, free: 6.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/0.5698, allocations: 1.606 MB / 0.4957 GB, free: 4.793 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.227e-05/0.5698, allocations: 41.83 kB / 0.4957 GB, free: 4.746 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001217/0.5711, allocations: 1.778 MB / 0.4975 GB, free: 2.957 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000321/0.5714, allocations: 324.4 kB / 0.4978 GB, free: 2.641 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007505/0.5722, allocations: 495.4 kB / 0.4982 GB, free: 2.148 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.5724, allocations: 357.9 kB / 0.4986 GB, free: 1.793 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001529/0.5739, allocations: 1.073 MB / 0.4996 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002202/0.5761, allocations: 2.011 MB / 0.5016 GB, free: 14.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00349/0.5796, allocations: 3.056 MB / 0.5046 GB, free: 10.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.176e-05/0.5796, allocations: 8 kB / 0.5046 GB, free: 10.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004803/0.5844, allocations: 3.074 MB / 0.5076 GB, free: 7.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.478e-05/0.5845, allocations: 20 kB / 0.5076 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.565e-05/0.5846, allocations: 36 kB / 0.5076 GB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.157e-05/0.5846, allocations: 48 kB / 0.5077 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/0.5865, allocations: 0.5698 MB / 0.5082 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.207e-05/0.5866, allocations: 78.06 kB / 0.5083 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.5882, allocations: 329 kB / 0.5086 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/0.5884, allocations: 128 kB / 0.5088 GB, free: 6.789 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: voltageSource.plug_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: 161 * 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 (278): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002957/0.5914, allocations: 1.633 MB / 0.5103 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003302/0.5917, allocations: 126.4 kB / 0.5105 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/0.5941, allocations: 1.386 MB / 0.5118 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001474/0.5956, allocations: 1.053 MB / 0.5128 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.5956, allocations: 0 / 0.5128 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.5956, allocations: 3.984 kB / 0.5129 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006686/0.6023, allocations: 4.292 MB / 0.517 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/0.6023, allocations: 4 kB / 0.517 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000864/0.6032, allocations: 207.8 kB / 0.5172 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.6032, allocations: 4 kB / 0.5172 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.786e-05/0.6033, allocations: 31.92 kB / 0.5173 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.115e-05/0.6033, allocations: 11.94 kB / 0.5173 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.6033, allocations: 0 / 0.5173 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/0.6062, allocations: 2.086 MB / 0.5193 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005926/0.6068, allocations: 311.2 kB / 0.5196 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.607, allocations: 31.83 kB / 0.5197 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006226/0.6076, allocations: 59.88 kB / 0.5197 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.6078, allocations: 64.97 kB / 0.5198 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.776e-05/0.6078, allocations: 28 kB / 0.5198 GB, free: 11.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001497/0.6093, allocations: 1.101 MB / 0.5209 GB, free: 10.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6093, allocations: 0 / 0.5209 GB, free: 10.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002679/0.612, allocations: 0.8509 MB / 0.5217 GB, free: 9.418 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (voltageSource.plug_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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003428/0.6155, allocations: 2.727 MB / 0.5244 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004767/0.6203, allocations: 2.396 MB / 0.5267 GB, free: 4.258 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.6203, allocations: 3.938 kB / 0.5267 GB, free: 4.254 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008975/0.6212, allocations: 0.5717 MB / 0.5273 GB, free: 3.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.623, allocations: 298.7 kB / 0.5276 GB, free: 3.406 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02989/0.6529, allocations: 19.37 MB / 0.5465 GB, free: 14.58 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002875/0.6558, allocations: 2.894 MB / 0.5493 GB, free: 11.65 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002262/0.6581, allocations: 0.8127 MB / 0.5501 GB, free: 10.83 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/0.6597, allocations: 1.12 MB / 0.5512 GB, free: 9.711 MB / 430.1 MB Notification: Performance of SimCode: time 1.202e-06/0.6597, allocations: 0 / 0.5512 GB, free: 9.711 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3113/0.9711, allocations: 43.06 MB / 0.5932 GB, free: 131.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.83, allocations: 7.641 kB / 0.5932 GB, free: 131.8 MB / 446.1 MB (rm -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter_fmu --startTime=0 --stopTime=180 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter.fmu > PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe 2>&1)