Running command: translateModel(PhotoVoltaics.Examples.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") Notification: Performance of loadModel(PhotoVoltaics): time 2.035/2.035, allocations: 211.3 MB / 223.4 MB, free: 3.547 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.767e-05/2.796e-05, allocations: 4 kB / 277.6 MB, free: 14.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0838/0.08386, allocations: 48.76 MB / 326.3 MB, free: 13.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.37/0.4539, allocations: 97.84 MB / 424.2 MB, free: 8.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.4542, allocations: 73.84 kB / 424.2 MB, free: 8.039 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6785/1.133, allocations: 145.2 MB / 0.5561 GB, free: 99.36 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.115e-06/1.133, allocations: 0 / 0.5561 GB, free: 99.36 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002403/1.133, allocations: 90.27 kB / 0.5562 GB, free: 99.36 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.01581/1.149, allocations: 4.119 MB / 0.5602 GB, free: 97.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/1.149, allocations: 11.47 kB / 0.5602 GB, free: 97.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007077/1.156, allocations: 0.9857 MB / 0.5612 GB, free: 97.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007038/1.163, allocations: 2.788 MB / 0.5639 GB, free: 95.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004189/1.163, allocations: 311.8 kB / 0.5642 GB, free: 95.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001513/1.165, allocations: 399 kB / 0.5646 GB, free: 95.36 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01658/1.182, allocations: 6.834 MB / 0.5713 GB, free: 92.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001223/1.182, allocations: 6.812 kB / 0.5713 GB, free: 92.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001282/1.183, allocations: 173.3 kB / 0.5715 GB, free: 91.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003434/1.183, allocations: 266.1 kB / 0.5717 GB, free: 91.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01374/1.197, allocations: 5.632 MB / 0.5772 GB, free: 89.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04701/1.244, allocations: 23.17 MB / 0.5998 GB, free: 66.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007918/1.252, allocations: 4.22 MB / 0.604 GB, free: 62.58 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005079/1.257, allocations: 2.776 MB / 0.6067 GB, free: 59.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003575/1.258, allocations: 151.4 kB / 0.6068 GB, free: 59.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004812/1.263, allocations: 2.436 MB / 0.6092 GB, free: 57.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=295): time 8.095e-06/1.263, allocations: 0 / 0.6092 GB, free: 57.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=295): time 0.01266/1.275, allocations: 5.253 MB / 0.6143 GB, free: 51.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.683e-05/1.275, allocations: 209.9 kB / 0.6145 GB, free: 51.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002227/1.278, allocations: 1.163 MB / 0.6157 GB, free: 50.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006056/1.278, allocations: 65.7 kB / 0.6157 GB, free: 50.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00147/1.28, allocations: 1.525 MB / 0.6172 GB, free: 48.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001392/1.281, allocations: 0.9766 MB / 0.6182 GB, free: 47.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003979/1.282, allocations: 56 kB / 0.6182 GB, free: 47.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003083/1.282, allocations: 436.4 kB / 0.6186 GB, free: 47.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004084/1.286, allocations: 2.118 MB / 0.6207 GB, free: 45.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004793/1.291, allocations: 2.634 MB / 0.6233 GB, free: 42.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005071/1.296, allocations: 2.576 MB / 0.6258 GB, free: 39.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.794e-05/1.296, allocations: 4 kB / 0.6258 GB, free: 39.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01291/1.309, allocations: 5.826 MB / 0.6315 GB, free: 33.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.861e-05/1.309, allocations: 42.19 kB / 0.6315 GB, free: 33.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.901e-05/1.309, allocations: 16 kB / 0.6315 GB, free: 33.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002828/1.312, allocations: 1.205 MB / 0.6327 GB, free: 32.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003402/1.315, allocations: 0.5499 MB / 0.6333 GB, free: 32.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006407/1.322, allocations: 5.541 MB / 0.6387 GB, free: 26.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003432/1.325, allocations: 385 kB / 0.639 GB, free: 25.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008675/1.326, allocations: 131.9 kB / 0.6392 GB, free: 25.83 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 241 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 40 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007548/1.327, allocations: 285.2 kB / 0.6394 GB, free: 25.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006312/1.328, allocations: 185.6 kB / 0.6396 GB, free: 25.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01488/1.343, allocations: 5.69 MB / 0.6452 GB, free: 19.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01274/1.355, allocations: 5.196 MB / 0.6502 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.717e-05/1.355, allocations: 8 kB / 0.6502 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.74e-05/1.356, allocations: 11.95 kB / 0.6503 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02298/1.379, allocations: 11.31 MB / 0.6613 GB, free: 2.953 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.499e-05/1.379, allocations: 0 / 0.6613 GB, free: 2.953 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002066/1.381, allocations: 339.7 kB / 0.6616 GB, free: 2.621 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00493/1.386, allocations: 1.648 MB / 0.6632 GB, free: 0.9531 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005814/1.386, allocations: 67.95 kB / 0.6633 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2528/1.639, allocations: 4.834 MB / 0.668 GB, free: 92.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.374e-06/1.639, allocations: 4.688 kB / 0.668 GB, free: 92.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01678/1.656, allocations: 8.405 MB / 0.6762 GB, free: 92.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001889/1.658, allocations: 0.7469 MB / 0.677 GB, free: 91.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004665/1.658, allocations: 44.58 kB / 0.677 GB, free: 91.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/1.66, allocations: 141.9 kB / 0.6771 GB, free: 91.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006305/1.661, allocations: 234.9 kB / 0.6774 GB, free: 91.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003403/1.661, allocations: 84.64 kB / 0.6774 GB, free: 91.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00174/1.663, allocations: 0.8922 MB / 0.6783 GB, free: 91.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.36e-07/1.663, allocations: 1.641 kB / 0.6783 GB, free: 91.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003325/1.666, allocations: 1.023 MB / 0.6793 GB, free: 91.69 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (converter.integrator.y,converter.potentialSensor.plug_p.reference.gamma) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 40 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.000657/1.667, allocations: 264.5 kB / 0.6796 GB, free: 91.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009138/1.676, allocations: 5.002 MB / 0.6844 GB, free: 91.33 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.527e-06/1.676, allocations: 0 / 0.6844 GB, free: 91.33 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004674/1.681, allocations: 2.442 MB / 0.6868 GB, free: 91.24 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/1.683, allocations: 328 kB / 0.6871 GB, free: 91.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/1.698, allocations: 7.278 MB / 0.6943 GB, free: 89.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00453/1.702, allocations: 3.164 MB / 0.6973 GB, free: 88.22 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002428/1.705, allocations: 0.5753 MB / 0.6979 GB, free: 88.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007169/1.706, allocations: 140.3 kB / 0.698 GB, free: 88.18 MB / 426.7 MB Notification: Performance of SimCode: time 2.089e-06/1.706, allocations: 0 / 0.698 GB, free: 88.18 MB / 426.7 MB Notification: Performance of Templates: time 0.09037/1.796, allocations: 43.15 MB / 0.7402 GB, free: 74.06 MB / 426.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.makefile clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP3 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.o PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.c PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.c:181:70: error: assigning to 'modelica_real' (aka 'double') from incompatible type 'Complex_array' (aka 'struct base_array_s') data->localData[0]->realVars[109] /* converter.powerAC variable */ = tmp4; ^ ~~~~ 1 error generated. : recipe for target 'PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.o' failed make: *** [PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.o] Error 1