Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModulePolyphase,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModulePolyphase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModulePolyphase,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModulePolyphase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005249/0.005249, allocations: 173.4 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 223.2 MB / 239 MB, free: 1.762 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000886/0.000886, allocations: 103.9 kB / 290.2 MB, free: 13.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02784/0.02784, allocations: 5.389 MB / 346.7 MB, free: 5.531 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003119, allocations: 12.14 kB / 408.9 MB, free: 91.93 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09698/0.09731, allocations: 51.61 MB / 460.5 MB, free: 47.89 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3346/0.4319, allocations: 94.64 MB / 0.5421 GB, free: 25.03 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.4322, allocations: 77.09 kB / 0.5422 GB, free: 25.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09762/0.5298, allocations: 39.48 MB / 0.5807 GB, free: 13.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5299, allocations: 0 / 0.5807 GB, free: 13.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002235/0.5301, allocations: 62.47 kB / 0.5808 GB, free: 13.57 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.006954/0.5371, allocations: 2.351 MB / 0.5831 GB, free: 12.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.566e-05/0.5371, allocations: 13.58 kB / 0.5831 GB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001252/0.5384, allocations: 301.3 kB / 0.5834 GB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.5397, allocations: 254.3 kB / 0.5836 GB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003981/0.5437, allocations: 1.384 MB / 0.585 GB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.5439, allocations: 154.6 kB / 0.5851 GB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006854/0.5446, allocations: 202.4 kB / 0.5853 GB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004311/0.5489, allocations: 2.692 MB / 0.588 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.036e-05/0.549, allocations: 0 / 0.588 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.5491, allocations: 87.56 kB / 0.588 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-05/0.5492, allocations: 85.88 kB / 0.5881 GB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003548/0.5528, allocations: 2.234 MB / 0.5903 GB, free: 9.992 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01165/0.5644, allocations: 8.105 MB / 0.5982 GB, free: 6.047 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.5662, allocations: 1.293 MB / 0.5995 GB, free: 5.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.369e-05/0.5663, allocations: 8.156 kB / 0.5995 GB, free: 5.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008402/0.5672, allocations: 0.5835 MB / 0.6001 GB, free: 5.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=71): time 2.775e-06/0.5672, allocations: 0 / 0.6001 GB, free: 5.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=71): time 0.005727/0.5729, allocations: 2.064 MB / 0.6021 GB, free: 4.668 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.573, allocations: 147.1 kB / 0.6022 GB, free: 4.504 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.5746, allocations: 0.9868 MB / 0.6032 GB, free: 4.156 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.561e-05/0.5747, allocations: 40.14 kB / 0.6032 GB, free: 4.121 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007985/0.5755, allocations: 0.9581 MB / 0.6042 GB, free: 3.395 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.5758, allocations: 243.9 kB / 0.6044 GB, free: 3.188 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.5758, allocations: 23 kB / 0.6044 GB, free: 3.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.5759, allocations: 347.9 kB / 0.6047 GB, free: 2.852 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007779/0.5767, allocations: 0.4937 MB / 0.6052 GB, free: 2.516 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009166/0.5776, allocations: 0.7808 MB / 0.606 GB, free: 1.793 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009759/0.5786, allocations: 0.6196 MB / 0.6066 GB, free: 1.371 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.5786, allocations: 7.984 kB / 0.6066 GB, free: 1.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.0027/0.5813, allocations: 1.527 MB / 0.6081 GB, free: 212 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001379/0.5827, allocations: 3.338 MB / 0.6114 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.5828, allocations: 8 kB / 0.6114 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005993/0.5834, allocations: 99.16 kB / 0.6115 GB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.5846, allocations: 273.1 kB / 0.6117 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.5864, allocations: 1.573 MB / 0.6133 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.5878, allocations: 159.7 kB / 0.6134 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.588, allocations: 47.66 kB / 0.6134 GB, free: 10.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.588, allocations: 6.031 kB / 0.6135 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002771/0.5908, allocations: 1.38 MB / 0.6148 GB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.5908, allocations: 8.188 kB / 0.6148 GB, free: 9.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005009/0.5913, allocations: 100.8 kB / 0.6149 GB, free: 9.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.5924, allocations: 275.5 kB / 0.6152 GB, free: 9.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/0.5941, allocations: 1.561 MB / 0.6167 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.5954, allocations: 131.2 kB / 0.6168 GB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.875e-05/0.5955, allocations: 48.16 kB / 0.6169 GB, free: 7.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,converter.integratorOmega.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001724/0.5973, allocations: 0.756 MB / 0.6176 GB, free: 6.457 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003367/0.5976, allocations: 110.6 kB / 0.6177 GB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002603/0.6002, allocations: 1.357 MB / 0.619 GB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.6002, allocations: 8 kB / 0.619 GB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.6003, allocations: 0 / 0.619 GB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.6003, allocations: 7.938 kB / 0.6191 GB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008257/0.6085, allocations: 3.423 MB / 0.6224 GB, free: 1.461 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.6086, allocations: 4.031 kB / 0.6224 GB, free: 1.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007522/0.6093, allocations: 151.8 kB / 0.6225 GB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002667/0.612, allocations: 0.5956 MB / 0.6231 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.6121, allocations: 15.98 kB / 0.6231 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.6135, allocations: 0.9248 MB / 0.624 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6135, allocations: 0 / 0.624 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006198/0.6197, allocations: 2.291 MB / 0.6263 GB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009284/0.6206, allocations: 303.4 kB / 0.6266 GB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.6208, allocations: 20 kB / 0.6266 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007556/0.6216, allocations: 83.92 kB / 0.6267 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.6217, allocations: 48.67 kB / 0.6267 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.979e-05/0.6218, allocations: 31.97 kB / 0.6267 GB, free: 12.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001291/0.6231, allocations: 0.7608 MB / 0.6275 GB, free: 12.13 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6231, allocations: 0 / 0.6275 GB, free: 12.13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002259/0.6254, allocations: 0.8818 MB / 0.6283 GB, free: 11.25 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (converter.integrator.y,converter.integratorOmega.y,converter.firstOrder[1].y,converter.firstOrder[2].y,converter.firstOrder[3].y) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.006277/0.6317, allocations: 2.966 MB / 0.6312 GB, free: 8.242 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004016/0.6357, allocations: 2.22 MB / 0.6334 GB, free: 5.969 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.6357, allocations: 0 / 0.6334 GB, free: 5.969 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.6368, allocations: 0.6313 MB / 0.634 GB, free: 5.324 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.6382, allocations: 237.1 kB / 0.6343 GB, free: 5.098 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.65, allocations: 11.05 MB / 0.645 GB, free: 9.762 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001617/0.6516, allocations: 1.741 MB / 0.6467 GB, free: 7.988 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001335/0.653, allocations: 364.3 kB / 0.6471 GB, free: 7.629 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009711/0.654, allocations: 0.7023 MB / 0.6478 GB, free: 6.926 MB / 410.7 MB Notification: Performance of SimCode: time 1.283e-06/0.654, allocations: 0 / 0.6478 GB, free: 6.926 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05521/0.7092, allocations: 27.91 MB / 0.675 GB, free: 11.3 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/0.7095, allocations: 201 kB / 0.6752 GB, free: 11.06 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.716/3.425, allocations: 3.938 kB / 0.6752 GB, free: 11.05 MB / 442.7 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModulePolyphase_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModulePolyphase.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModulePolyphase.pipe 2>&1)