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.001085/0.001085, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.00142/0.00142, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1586/0.1586, allocations: 5.368 MB / 296.3 MB, free: 3.906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 8 kB / 358.6 MB, free: 1.512 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1104, allocations: 51.6 MB / 410.1 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.00816/0.1186, allocations: 6.607 MB / 416.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005311/0.1239, allocations: 2.353 MB / 419.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.1254, allocations: 51.88 kB / 419.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.1267, allocations: 389.9 kB / 419.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002641/0.1293, allocations: 0.6932 MB / 420.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001654/0.131, allocations: 0.6271 MB / 420.9 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004067/0.1351, allocations: 2.324 MB / 423.2 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2028/0.3379, allocations: 8.293 MB / 431.5 MB, free: 33.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.3393, allocations: 1.303 MB / 432.8 MB, free: 33.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.3407, allocations: 1.521 MB / 434.3 MB, free: 33.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002677/0.341, allocations: 255 kB / 434.6 MB, free: 33.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007951/0.3418, allocations: 460 kB / 435 MB, free: 33.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004681/0.3423, allocations: 0.6907 MB / 435.7 MB, free: 33.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000505/0.3428, allocations: 0.8119 MB / 436.5 MB, free: 33.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004095/0.3469, allocations: 7.206 MB / 443.7 MB, free: 32.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3469, allocations: 0 / 443.7 MB, free: 32.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3469, allocations: 0 / 443.7 MB, free: 32.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.00011/0.347, allocations: 4 kB / 443.7 MB, free: 32.79 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.008247/0.3553, allocations: 3.939 MB / 447.7 MB, free: 31.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3553, allocations: 10 kB / 447.7 MB, free: 31.4 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001201/0.3565, allocations: 0.5733 MB / 448.2 MB, free: 31.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008572/0.3651, allocations: 1.554 MB / 449.8 MB, free: 31.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004567/0.3697, allocations: 2.5 MB / 452.3 MB, free: 29.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001949/0.3699, allocations: 299.9 kB / 452.6 MB, free: 29.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008465/0.3708, allocations: 384.6 kB / 453 MB, free: 29.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/0.3816, allocations: 6.332 MB / 459.3 MB, free: 26.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.221e-05/0.3817, allocations: 0 / 459.3 MB, free: 26.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003807/0.3821, allocations: 161.8 kB / 459.4 MB, free: 26.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001688/0.3823, allocations: 198.7 kB / 459.6 MB, free: 26.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009084/0.3914, allocations: 5.366 MB / 465 MB, free: 24.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02442/0.4158, allocations: 21.64 MB / 486.6 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003944/0.4198, allocations: 3.835 MB / 490.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.4199, allocations: 117.7 kB / 490.6 MB, free: 5.699 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.42, allocations: 42.28 kB / 490.6 MB, free: 5.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=92): time 3.166e-06/0.42, allocations: 3.938 kB / 490.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=92): time 0.002365/0.4223, allocations: 2.112 MB / 492.8 MB, free: 4.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.4224, allocations: 85.58 kB / 492.8 MB, free: 4.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.4241, allocations: 1.594 MB / 494.4 MB, free: 3.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.4241, allocations: 40.05 kB / 494.5 MB, free: 3.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000619/0.4248, allocations: 1.773 MB / 496.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/0.4249, allocations: 345.4 kB / 496.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.999e-05/0.425, allocations: 41.09 kB / 496.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.4252, allocations: 448 kB / 497.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.4265, allocations: 1.126 MB / 498.2 MB, free: 396 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/0.4284, allocations: 2.054 MB / 0.4885 GB, free: 14.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/0.4303, allocations: 1.535 MB / 0.49 GB, free: 12.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-05/0.4303, allocations: 12 kB / 0.49 GB, free: 12.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004362/0.4347, allocations: 3.18 MB / 0.4931 GB, free: 9.336 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.116e-05/0.4347, allocations: 20 kB / 0.4931 GB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.549e-05/0.4348, allocations: 36 kB / 0.4932 GB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.482e-05/0.4348, allocations: 56 kB / 0.4932 GB, free: 9.227 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/0.4366, allocations: 0.5695 MB / 0.4938 GB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.119e-05/0.4367, allocations: 71.72 kB / 0.4939 GB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.4382, allocations: 344.9 kB / 0.4942 GB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/0.4384, allocations: 128 kB / 0.4943 GB, free: 8.121 MB / 366.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 (281): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002375/0.4407, allocations: 1.631 MB / 0.4959 GB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002682/0.441, allocations: 130.4 kB / 0.496 GB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002387/0.4434, allocations: 1.503 MB / 0.4975 GB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001681/0.4451, allocations: 1.17 MB / 0.4986 GB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.4451, allocations: 0 / 0.4986 GB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.4451, allocations: 11.97 kB / 0.4987 GB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007315/0.4525, allocations: 4.467 MB / 0.503 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.4525, allocations: 0 / 0.503 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008693/0.4534, allocations: 227.8 kB / 0.5032 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.869e-06/0.4534, allocations: 4 kB / 0.5032 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.512e-05/0.4534, allocations: 20 kB / 0.5033 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.36e-05/0.4535, allocations: 11.98 kB / 0.5033 GB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4535, allocations: 3.938 kB / 0.5033 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003079/0.4566, allocations: 2.365 MB / 0.5056 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006268/0.4572, allocations: 351 kB / 0.5059 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.4574, allocations: 19.98 kB / 0.5059 GB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005878/0.458, allocations: 55.94 kB / 0.506 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.4581, allocations: 68.84 kB / 0.5061 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.866e-05/0.4582, allocations: 31.94 kB / 0.5061 GB, free: 11.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001592/0.4598, allocations: 1.089 MB / 0.5071 GB, free: 10.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4598, allocations: 0 / 0.5071 GB, free: 10.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002451/0.4622, allocations: 0.8548 MB / 0.508 GB, free: 9.965 MB / 382.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 (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003585/0.4658, allocations: 3.331 MB / 0.5112 GB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003484/0.4693, allocations: 2.123 MB / 0.5133 GB, free: 4.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.4693, allocations: 4.375 kB / 0.5133 GB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009118/0.4702, allocations: 0.6458 MB / 0.5139 GB, free: 3.812 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.4715, allocations: 262 kB / 0.5142 GB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03589/0.5074, allocations: 39.2 MB / 0.5525 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00283/0.5102, allocations: 2.959 MB / 0.5554 GB, free: 8.367 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002061/0.5123, allocations: 0.8129 MB / 0.5562 GB, free: 7.547 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/0.5138, allocations: 1.128 MB / 0.5573 GB, free: 6.418 MB / 430.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5138, allocations: 0 / 0.5573 GB, free: 6.418 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2336/0.7474, allocations: 42.14 MB / 0.5984 GB, free: 124.4 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.7476, allocations: 228.5 kB / 0.5986 GB, free: 124.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.205/2.953, allocations: 0 / 0.5986 GB, free: 124.1 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/linux/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) Environment - environmentSimulation: