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.0007976/0.0007977, allocations: 97.64 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.005174/0.005174, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.298/1.298, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1564/0.1564, allocations: 5.383 MB / 296.8 MB, free: 3.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003073, allocations: 8 kB / 359.3 MB, free: 1.152 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09165/0.09197, allocations: 51.61 MB / 410.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.007561/0.09957, allocations: 7.472 MB / 418.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004669/0.1043, allocations: 2.48 MB / 420.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007713/0.1051, allocations: 55.81 kB / 420.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.1062, allocations: 0.5134 MB / 421.4 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.1082, allocations: 0.7467 MB / 422.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.1098, allocations: 0.7794 MB / 422.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1736/0.2834, allocations: 3.51 MB / 426.4 MB, free: 34.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01261/0.296, allocations: 10.3 MB / 436.7 MB, free: 32.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001954/0.298, allocations: 1.435 MB / 438.2 MB, free: 32.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002281/0.3003, allocations: 1.739 MB / 439.9 MB, free: 31.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003731/0.3007, allocations: 250.1 kB / 440.1 MB, free: 31.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.3018, allocations: 0.5036 MB / 440.7 MB, free: 31.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004637/0.3023, allocations: 0.7123 MB / 441.4 MB, free: 31.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001401/0.3037, allocations: 1.817 MB / 443.2 MB, free: 29.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005031/0.3087, allocations: 8 MB / 451.2 MB, free: 28.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3088, allocations: 0 / 451.2 MB, free: 28.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3088, allocations: 0 / 451.2 MB, free: 28.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001404/0.3089, allocations: 0 / 451.2 MB, free: 28.28 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.008619/0.3175, allocations: 3.91 MB / 455.1 MB, free: 26.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3176, allocations: 13.59 kB / 455.1 MB, free: 26.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0011/0.3187, allocations: 0.5663 MB / 455.7 MB, free: 26.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008396/0.3271, allocations: 1.55 MB / 457.2 MB, free: 25.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003388/0.3305, allocations: 2.531 MB / 459.8 MB, free: 24.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.3307, allocations: 302.5 kB / 460 MB, free: 24.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005291/0.3312, allocations: 394.2 kB / 460.4 MB, free: 24.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01083/0.3421, allocations: 6.388 MB / 466.8 MB, free: 21.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.132e-05/0.3422, allocations: 5.25 kB / 466.8 MB, free: 21.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003934/0.3426, allocations: 168.8 kB / 467 MB, free: 21.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002634/0.3429, allocations: 202 kB / 467.2 MB, free: 21.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009797/0.3527, allocations: 5.394 MB / 472.6 MB, free: 19.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02597/0.3787, allocations: 21.65 MB / 494.2 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00402/0.3827, allocations: 3.838 MB / 498.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.3839, allocations: 0.7575 MB / 498.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/0.384, allocations: 122 kB / 498.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.56e-05/0.3841, allocations: 43.56 kB / 499 MB, free: 15.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 3.025e-06/0.3841, allocations: 0 / 499 MB, free: 15.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.002916/0.387, allocations: 1.759 MB / 0.489 GB, free: 13.25 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.3871, allocations: 90.05 kB / 0.4891 GB, free: 13.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/0.3894, allocations: 1.602 MB / 0.4907 GB, free: 11.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.546e-05/0.3895, allocations: 41.7 kB / 0.4907 GB, free: 11.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001249/0.3908, allocations: 1.773 MB / 0.4924 GB, free: 9.699 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/0.3911, allocations: 341.8 kB / 0.4928 GB, free: 9.367 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002717/0.3914, allocations: 182.3 kB / 0.4929 GB, free: 9.184 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3915, allocations: 353.9 kB / 0.4933 GB, free: 8.832 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.3932, allocations: 1.126 MB / 0.4944 GB, free: 7.699 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/0.3956, allocations: 2.062 MB / 0.4964 GB, free: 5.152 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003799/0.3994, allocations: 3.15 MB / 0.4995 GB, free: 1.648 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.412e-05/0.3994, allocations: 11.94 kB / 0.4995 GB, free: 1.637 MB / 366.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004899/0.4043, allocations: 3.172 MB / 0.5026 GB, free: 14.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.4044, allocations: 24.09 kB / 0.5026 GB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.398e-05/0.4044, allocations: 36 kB / 0.5026 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.675e-05/0.4045, allocations: 48 kB / 0.5027 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/0.4063, allocations: 0.5771 MB / 0.5032 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.645e-05/0.4064, allocations: 71.72 kB / 0.5033 GB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.408, allocations: 337 kB / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/0.4082, allocations: 124 kB / 0.5037 GB, free: 13.33 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 (281): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.002613/0.4108, allocations: 1.629 MB / 0.5053 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/0.4111, allocations: 134.2 kB / 0.5055 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00254/0.4136, allocations: 1.483 MB / 0.5069 GB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001706/0.4154, allocations: 1.154 MB / 0.508 GB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.4154, allocations: 4 kB / 0.508 GB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.4154, allocations: 3.984 kB / 0.508 GB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007999/0.4234, allocations: 4.443 MB / 0.5124 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.4234, allocations: 4 kB / 0.5124 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008648/0.4243, allocations: 215.8 kB / 0.5126 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.294e-05/0.4243, allocations: 4 kB / 0.5126 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.384e-05/0.4244, allocations: 24 kB / 0.5126 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.856e-06/0.4244, allocations: 7.984 kB / 0.5126 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.4244, allocations: 7.938 kB / 0.5126 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003098/0.4275, allocations: 2.258 MB / 0.5148 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005948/0.4282, allocations: 343.1 kB / 0.5152 GB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/0.4284, allocations: 16 kB / 0.5152 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006668/0.4291, allocations: 63.92 kB / 0.5152 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.4292, allocations: 68.8 kB / 0.5153 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-05/0.4293, allocations: 35.97 kB / 0.5153 GB, free: 1.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001818/0.4311, allocations: 1.105 MB / 0.5164 GB, free: 212 kB / 382.1 MB Notification: Performance of sort global known variables: time 7.41e-07/0.4311, allocations: 0 / 0.5164 GB, free: 212 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.002519/0.4337, allocations: 0.8472 MB / 0.5173 GB, free: 15.35 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 (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.003584/0.4372, allocations: 2.899 MB / 0.5201 GB, free: 12.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003427/0.4407, allocations: 2.115 MB / 0.5221 GB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4407, allocations: 0 / 0.5221 GB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009154/0.4416, allocations: 0.6349 MB / 0.5228 GB, free: 9.672 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/0.4434, allocations: 279.8 kB / 0.523 GB, free: 9.398 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03431/0.4777, allocations: 21.28 MB / 0.5438 GB, free: 2.656 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003396/0.4811, allocations: 2.902 MB / 0.5466 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00199/0.4831, allocations: 0.8089 MB / 0.5474 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001528/0.4847, allocations: 1.128 MB / 0.5485 GB, free: 13.78 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4847, allocations: 0 / 0.5485 GB, free: 13.78 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2381/0.7228, allocations: 42.43 MB / 0.59 GB, free: 124.3 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001564/0.723, allocations: 247.1 kB / 0.5902 GB, free: 124 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/3.113, allocations: 0 / 0.5902 GB, free: 124 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)