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.001329/0.001329, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.00152/0.001521, allocations: 194.2 kB / 16.25 MB, free: 6.637 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.352/1.352, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1485/0.1485, allocations: 5.397 MB / 295.5 MB, free: 2.945 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 59.91 kB / 357 MB, free: 1.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08979/0.09097, allocations: 50.62 MB / 407.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.005259/0.09627, allocations: 4.376 MB / 412 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002542/0.09885, allocations: 1.569 MB / 413.6 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000302/0.09921, allocations: 12 kB / 413.6 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001909/0.1011, allocations: 0.8445 MB / 414.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.1024, allocations: 0.5523 MB / 415 MB, free: 7.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.1028, allocations: 203.6 kB / 415.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005078/0.1033, allocations: 0.5648 MB / 415.7 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009511/0.1042, allocations: 0.7632 MB / 416.5 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.1045, allocations: 251.1 kB / 416.7 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.1049, allocations: 326.7 kB / 417.1 MB, free: 5.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.679e-05/0.1049, allocations: 72 kB / 417.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003786/0.1053, allocations: 219.8 kB / 417.3 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.925e-05/0.1054, allocations: 143.5 kB / 417.5 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.1056, allocations: 306.6 kB / 417.8 MB, free: 4.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008237/0.1065, allocations: 0.9034 MB / 418.7 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1065, allocations: 0 / 418.7 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1065, allocations: 4 kB / 418.7 MB, free: 4.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.1065, allocations: 0 / 418.7 MB, free: 4.035 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.001945/0.1085, allocations: 0.9876 MB / 419.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1085, allocations: 12.03 kB / 419.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/0.1086, allocations: 110.7 kB / 419.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001836/0.1105, allocations: 308 kB / 420.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.1109, allocations: 365.4 kB / 420.5 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.717e-05/0.1109, allocations: 46.38 kB / 420.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.953e-05/0.111, allocations: 68.38 kB / 420.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.1121, allocations: 0.7007 MB / 421.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/0.1122, allocations: 7.938 kB / 421.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.757e-05/0.1122, allocations: 24 kB / 421.3 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.1123, allocations: 16 kB / 421.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009601/0.1132, allocations: 0.5751 MB / 421.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2061/0.3193, allocations: 2.748 MB / 424.6 MB, free: 45.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.3205, allocations: 0.909 MB / 425.6 MB, free: 45.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.3207, allocations: 130.7 kB / 425.7 MB, free: 45.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.377e-05/0.3208, allocations: 93.94 kB / 425.8 MB, free: 45.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.3208, allocations: 36.97 kB / 425.8 MB, free: 45.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.285e-06/0.3208, allocations: 0 / 425.8 MB, free: 45.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0007009/0.3215, allocations: 335.9 kB / 426.1 MB, free: 45.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.3215, allocations: 80.45 kB / 426.2 MB, free: 44.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.3218, allocations: 298.4 kB / 426.5 MB, free: 44.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.3218, allocations: 29.52 kB / 426.5 MB, free: 44.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.3219, allocations: 316.4 kB / 426.8 MB, free: 44.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.381e-05/0.322, allocations: 97.2 kB / 426.9 MB, free: 44.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.3221, allocations: 89.94 kB / 427 MB, free: 44.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.885e-05/0.3222, allocations: 342.6 kB / 427.4 MB, free: 44.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.3224, allocations: 148.5 kB / 427.5 MB, free: 44.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.3227, allocations: 262 kB / 427.8 MB, free: 44.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000474/0.3232, allocations: 398 kB / 428.2 MB, free: 43.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3232, allocations: 3.125 kB / 428.2 MB, free: 43.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006371/0.3238, allocations: 457.6 kB / 428.6 MB, free: 43.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3239, allocations: 10.59 kB / 428.6 MB, free: 43.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.3239, allocations: 8.109 kB / 428.6 MB, free: 43.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.3239, allocations: 6.594 kB / 428.6 MB, free: 43.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004472/0.3244, allocations: 122.5 kB / 428.7 MB, free: 43.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.3244, allocations: 12.3 kB / 428.8 MB, free: 43.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000287/0.3247, allocations: 60.25 kB / 428.8 MB, free: 43.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.3247, allocations: 17.81 kB / 428.8 MB, free: 43.62 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.000312/0.325, allocations: 192.8 kB / 429 MB, free: 43.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.3251, allocations: 28.59 kB / 429 MB, free: 43.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005399/0.3257, allocations: 299.5 kB / 429.3 MB, free: 43.3 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3257, allocations: 3.906 kB / 429.3 MB, free: 43.3 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.3257, allocations: 3.797 kB / 429.3 MB, free: 43.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.3257, allocations: 5.312 kB / 429.4 MB, free: 43.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.3268, allocations: 0.8639 MB / 430.2 MB, free: 42.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3268, allocations: 3.828 kB / 430.2 MB, free: 42.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003194/0.3272, allocations: 83.42 kB / 430.3 MB, free: 42.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3272, allocations: 0 / 430.3 MB, free: 42.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/0.3272, allocations: 7.062 kB / 430.3 MB, free: 42.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.3272, allocations: 3.312 kB / 430.3 MB, free: 42.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.3272, allocations: 0 / 430.3 MB, free: 42.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006479/0.3279, allocations: 0.5428 MB / 430.9 MB, free: 42.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/0.3279, allocations: 109.8 kB / 431 MB, free: 42.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.535e-05/0.328, allocations: 14.09 kB / 431 MB, free: 42.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.3282, allocations: 13.94 kB / 431 MB, free: 42.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.791e-05/0.3283, allocations: 24.34 kB / 431 MB, free: 42.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.3283, allocations: 6.375 kB / 431 MB, free: 42.29 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000156/0.3284, allocations: 204.7 kB / 431.2 MB, free: 42.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3284, allocations: 64 / 431.2 MB, free: 42.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004999/0.329, allocations: 138.7 kB / 431.4 MB, free: 42.13 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.0008947/0.3299, allocations: 1.116 MB / 432.5 MB, free: 41.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005867/0.3305, allocations: 319.6 kB / 432.8 MB, free: 41.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3305, allocations: 0 / 432.8 MB, free: 41.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.3307, allocations: 120.7 kB / 432.9 MB, free: 41.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.3311, allocations: 35.2 kB / 432.9 MB, free: 41.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00393/0.3351, allocations: 3.753 MB / 436.7 MB, free: 38.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.3354, allocations: 0.8217 MB / 437.5 MB, free: 37.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001942/0.3356, allocations: 44.8 kB / 437.6 MB, free: 37.72 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.3358, allocations: 167.7 kB / 437.7 MB, free: 37.59 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3358, allocations: 0 / 437.7 MB, free: 37.59 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03263/0.3684, allocations: 6.965 MB / 444.7 MB, free: 37 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001443/0.3686, allocations: 235.5 kB / 444.9 MB, free: 36.74 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.302, allocations: 2.188 kB / 444.9 MB, free: 36.74 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)